@Test
public void testResolve() {

    ServiceLevelAgreement.ID id = this.provider.builder().name("sla").build().getId();
    ServiceLevelAgreement.ID fromStr = this.provider.resolve(id.toString());
    ServiceLevelAgreement.ID fromUUID = this.provider.resolve(UUID.fromString(id.toString()));
    ServiceLevelAgreement.ID fromID = this.provider.resolve(id);
    assertThat(id).isEqualTo(fromStr).isEqualTo(fromUUID).isEqualTo(fromID);
    assertThat(this.provider.getAgreement(fromStr)).isNotNull();
}