void () { PsiJavaFile file = getFile("MyClass"); PsiClass aClass = file.getClasses()[0]; assertTrue(aClass.isValid()); assertEquals(file, aClass.getParent()); assertEquals(file, aClass.getContainingFile()); assertEquals("MyClass", aClass.getName()); assertEquals("pack.MyClass", aClass.getQualifiedName()); assertFalse(aClass.isInterface()); assertFalse(aClass.isDeprecated()); }