✨ Annotate IndexPage with MenuName
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / web / pages / IndexPageTest.kt
index 39be2d6..07eb64a 100644 (file)
@@ -159,4 +159,9 @@ class IndexPageTest: WebPageTest({ template, webInterface -> IndexPage(template,
            assertThat(baseInjector.getInstance<IndexPage>(), notNullValue())
        }
 
+       @Test
+       fun `page is annotated with correct menuname`() {
+           assertThat(page.menuName, equalTo("Index"))
+       }
+
 }