@Test
void addMethod() {

    MethodConfig method = new MethodConfig();
    ServiceBuilder builder = new ServiceBuilder();
    builder.addMethod(method);
    Assertions.assertTrue(builder.build().getMethods().contains(method));
    Assertions.assertEquals(1, builder.build().getMethods().size());
}