use of uk.gov.justice.subscription.domain.Location in project microservice_framework by CJSCommonPlatform.
the class LocationBuilderTest method shouldBuildALocation.
@Test
public void shouldBuildALocation() throws Exception {
final String jmsUri = "jmsUri";
final String restUri = "restUri";
final Location location = location().withJmsUri(jmsUri).withRestUri(restUri).build();
assertThat(location.getJmsUri(), is(jmsUri));
assertThat(location.getRestUri(), is(restUri));
}
Aggregations