Skip to content

Commit

Permalink
#68. Improved test for AbstractAssertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Joński committed Sep 8, 2016
1 parent 4e0bd87 commit 17ebf79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/org/pojo/tester/AbstractAssetionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,13 @@ public void Should_Not_Throw_Exception_When_Class_Has_All_Methods_Well_Implement
}

@Test
public void Should_Throw_Exception_When_Class_Has_All_Methods_Implemented_In_Wrong_Way() {
public void Should_Throw_Exception_When_Class_Has_Method_Implemented_In_Wrong_Way() {
// given
final Class<BadPojoEqualsItself> classUnderTest = BadPojoEqualsItself.class;

// when
final Throwable result = catchThrowable(() -> Assetions.assertPojoMethodsFor(classUnderTest)
.testing(Method.EQUALS)
.areWellImplemented());

// then
Expand Down

0 comments on commit 17ebf79

Please sign in to comment.