}
public void testPartialResolve() {
myFixture.configureByFiles("custom.js", "angular.js", "index.html", "partials/phone-details.html", "partials/phone-list.html");
int offsetBySignature = AngularTestUtil.findOffsetBySignature("phone-<caret>details", myFixture.getFile());
PsiReference ref = myFixture.getFile().findReferenceAt(offsetBySignature);
assertNotNull(ref);
PsiElement resolve = ref.resolve();
assertInstanceOf(resolve, PsiFile.class);
assertEquals("phone-details.html", ((PsiFile)resolve).getName());
offsetBySignature = AngularTestUtil.findOffsetBySignature("phone-<caret>list", myFixture.getFile());
ref = myFixture.getFile().findReferenceAt(offsetBySignature);
assertNotNull(ref);
resolve = ref.resolve();
assertInstanceOf(resolve, PsiFile.class);
assertEquals("phone-list.html", ((PsiFile)resolve).getName());
offsetBySignature = AngularTestUtil.findOffsetBySignature("template<caret>Id", myFixture.getFile());
ref = myFixture.getFile().findReferenceAt(offsetBySignature);
assertNotNull(ref);
resolve = ref.resolve();
assertInstanceOf(resolve, XmlAttributeValue.class);
assertEquals("\"templateId.htm\"", resolve.getText());
}