VIVO-799 Add setRdfsLabel() to unit test class.

This commit is contained in:
Jim Blake 2014-06-18 17:41:38 -04:00
parent 10461fb16d
commit baf0d59a68

View file

@ -55,7 +55,8 @@ public class IndividualStub implements Individual {
dpsSet.add(new DataPropertyStatementImpl(this.uri, predicateUri, object)); dpsSet.add(new DataPropertyStatementImpl(this.uri, predicateUri, object));
} }
public void addObjectPropertyStatement(ObjectProperty property, String objectUri) { public void addObjectPropertyStatement(ObjectProperty property,
String objectUri) {
ObjectPropertyStatementImpl ops = new ObjectPropertyStatementImpl(); ObjectPropertyStatementImpl ops = new ObjectPropertyStatementImpl();
ops.setSubject(this); ops.setSubject(this);
ops.setProperty(property); ops.setProperty(property);
@ -493,4 +494,11 @@ public class IndividualStub implements Individual {
throw new RuntimeException( throw new RuntimeException(
"Individual.setSearchSnippet() not implemented."); "Individual.setSearchSnippet() not implemented.");
} }
@Override
public void setRdfsLabel(String in) {
throw new RuntimeException(
"IndividualStub.setRdfsLabel() not implemented.");
}
} }