Skip to content

Commit

Permalink
removing dead import
Browse files Browse the repository at this point in the history
removing fqn where not required
  • Loading branch information
Idrinth committed Sep 9, 2017
1 parent a0fa715 commit f59e29b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToMany;
import javax.persistence.OneToMany;
import javax.persistence.NamedQueries;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ public void testModification() {
}

/**
* Test of setModifications method, of class Colliding.
* Test of setModifications+getModifications method, of class Colliding.
*/
@Test
public void testSetModifications() {
public void testModifications() {
System.out.println("modifications");
Colliding instance = (Colliding) get();
Set<Modification> set = new HashSet<>();
set.add(new Modification());
junit.framework.Assert.assertNotNull("there was no modification set pre-set", instance.getModifications());
junit.framework.Assert.assertFalse("modification sets were equal?", set.equals(instance.getModifications()));
Assert.assertNotNull("there was no modification set pre-set", instance.getModifications());
Assert.assertFalse("modification sets were equal?", set.equals(instance.getModifications()));
instance.setModifications(set);
junit.framework.Assert.assertTrue("modification sets were inequal", set.equals(instance.getModifications()));
Assert.assertTrue("modification sets were inequal", set.equals(instance.getModifications()));
}

@Override
Expand Down

0 comments on commit f59e29b

Please sign in to comment.