This commit is contained in:
Darien Raymond
2017-04-02 09:48:30 +02:00
parent 9e6a57b2b8
commit 73c4696e00
6 changed files with 283 additions and 63 deletions
+6
View File
@@ -49,6 +49,12 @@ func (v *DestinationSubject) EqualsString(another string) {
}
}
func (v *DestinationSubject) Equals(another net.Destination) {
if v.value != another {
v.Fail("not equals to", another.String())
}
}
func (v *DestinationSubject) HasAddress() *AddressSubject {
return v.a.Address(v.value.Address)
}