public B addProtocol(ProtocolConfig protocol) {
        if (this.protocols == null) {
            this.protocols = new ArrayList<>();
        }
        this.protocols.add(protocol);
        return getThis();
    }
@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());
    }