Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
Increase coverage #34
Browse files Browse the repository at this point in the history
  • Loading branch information
tdauth committed May 14, 2019
1 parent 649a519 commit 3b1545c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@ class HashIdentifierSpec extends AbstractApiSpec {
"not equal" in {
action0Identifier.equals(action1Identifier) shouldEqual false
action0Identifier.hashCode() should not equal action1Identifier.hashCode()
action0Identifier.equals(10) shouldEqual false
}

"equal" in {
action0Identifier.equals(action0Identifier) shouldEqual true
action0Identifier.hashCode() shouldEqual action0Identifier.hashCode()
}

"be converted into a string" in {
action0Identifier.toString shouldEqual "HashIdentifier[hash=fd00ea22cb50efd96c3ff59d8900685d0d64f2cee1e77873133e7e186afd2e7f]"
}
}
}

0 comments on commit 3b1545c

Please sign in to comment.