}
@Test
public void testImplicitModuleName() throws Exception { testImplicitModuleName$(); }
public void testImplicitModuleName$() throws Exception {
ISourceModule srcModule = getSourceModule(TR_SAMPLE_SRC1, "moduleDeclImplicitName.d");
assertEquals(srcModule.getElementName(), "moduleDeclImplicitName.d");
assertTrue(ModelElementTestUtils.getChildren(srcModule, "moduleDeclImplicitName").size() > 0);
IType topLevelElement = srcModule.getType("moduleDeclImplicitName");
assertTrue(topLevelElement.getNameRange().getOffset() == 0);
checkElementExists(srcModule, topLevelElement.getType("Foo"),
EArcheType.Class, "class Foo");