Skip to content
Permalink
Browse files

Removing commented-out lines

  • Loading branch information...
escowles committed Jul 28, 2014
1 parent 2feab18 commit d239cb9e431ae3e796ee131abc2726c78dd75b48
@@ -142,7 +142,6 @@ public void testAddedIrrelevantStatement() {
public void testAddedProhibitedStatement() throws RepositoryException {
mockStatic(JcrRdfTools.class);
when(mockSubjects.isFedoraGraphSubject(mockSubject)).thenReturn(true);
//when(mockSession.getNode(mockSubjects.getPathFromSubject(mockSubject))).thenReturn(mockSubjectNode);
when(mockSubjects.getPathFromSubject(mockSubject)).thenReturn("/some/path");
when(mockSession.getNode("/some/path")).thenReturn(mockSubjectNode);
when(mockJcrRdfTools.isInternalProperty(mockSubjectNode, mockPredicate)).thenReturn(true);
@@ -243,7 +242,6 @@ public void testAddRdfType() throws RepositoryException {

final Resource resource = createResource("xyz");
when(mockSubjects.isFedoraGraphSubject(resource)).thenReturn(true);
//when(mockSession.getNode(mockSubjects.getPathFromSubject(resource))).thenReturn(mockSubjectNode);
when(mockSubjects.getPathFromSubject(resource)).thenReturn("/xyz");
when(mockSession.getNode("/xyz")).thenReturn(mockSubjectNode);

0 comments on commit d239cb9

Please sign in to comment.
You can’t perform that action at this time.