use of org.apache.cxf.microprofile.client.mock.HighPriorityMBW in project cxf by apache.
the class CxfTypeSafeClientBuilderTest method testConfigMethods.
@Test
public void testConfigMethods() {
RestClientBuilder builder = RestClientBuilder.newBuilder();
assertEquals("y", builder.property("x", "y").getConfiguration().getProperty("x"));
assertTrue(builder.register(HighPriorityMBW.class).getConfiguration().isRegistered(HighPriorityMBW.class));
HighPriorityMBW mbw = new HighPriorityMBW(1);
assertTrue(builder.register(mbw).getConfiguration().isRegistered(mbw));
}
Aggregations