Changeset 10 for exampleparties/timedependentparty/src/test/java
- Timestamp:
- 01/28/20 10:19:54 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
exampleparties/timedependentparty/src/test/java/geniusweb/exampleparties/timedependentparty/TimeDependentPartyTest.java
r9 r10 53 53 public class TimeDependentPartyTest { 54 54 55 private static final ProtocolRef SAOP = new ProtocolRef("SAOP");55 private static final String SAOP = "SAOP"; 56 56 private static final PartyId otherparty = new PartyId("other"); 57 57 private static final String PROFILE = "src/test/resources/testprofile.json"; … … 105 105 Capabilities capabilities = party.getCapabilities(); 106 106 assertFalse("party does not define protocols", 107 capabilities.get Protocols().isEmpty());107 capabilities.getBehaviours().isEmpty()); 108 108 } 109 109 … … 198 198 @Test 199 199 public void testGetCapabilities() { 200 assertTrue(party.getCapabilities().get Protocols().contains(SAOP));200 assertTrue(party.getCapabilities().getBehaviours().contains(SAOP)); 201 201 } 202 202
Note:
See TracChangeset
for help on using the changeset viewer.