@Test
void addProtocol() {

    ProtocolConfig protocol = new ProtocolConfig();
    ServiceBuilder builder = new ServiceBuilder();
    Assertions.assertNull(builder.build().getProtocols());
    builder.addProtocol(protocol);
    Assertions.assertNotNull(builder.build().getProtocols());
    Assertions.assertEquals(1, builder.build().getProtocols().size());
    Assertions.assertEquals(protocol, builder.build().getProtocol());
}