@@ -0,0 +1,1219 @@
+package com.tacitknowledge.slowlight.proxyserver.server.simple;%0A%0Aimport com.tacitknowledge.slowlight.proxyserver.config.ServerConfig;%0Aimport com.tacitknowledge.slowlight.proxyserver.server.DynamicChannelInitializer;%0Aimport io.netty.channel.nio.NioEventLoopGroup;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.mockito.runners.MockitoJUnitRunner;%0A%0Aimport static org.hamcrest.CoreMatchers.notNullValue;%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0A%0A/**%0A * @author Pavel Sorocun (psorocun@tacitknowledge.com)%0A */%0A@RunWith(MockitoJUnitRunner.class)%0Apublic class SimpleServerTest%0A%7B%0A    private SimpleServer server;%0A%0A    @Before%0A    public void setup()%0A    %7B%0A        server = new SimpleServer(new ServerConfig());%0A    %7D%0A%0A    @Test%0A    public void shouldCreateBossGroup()%0A    %7B%0A         assertThat((NioEventLoopGroup) server.createBossGroup(), notNullValue());%0A    %7D%0A%0A    @Test%0A    public void shouldCreateWorkerGroup()%0A    %7B%0A         assertThat((NioEventLoopGroup) server.createWorkerGroup(), notNullValue());%0A    %7D%0A%0A    public void shouldCreateInitializer()%0A    %7B%0A        assertThat((DynamicChannelInitializer) server.createChannelInitializer(), notNullValue());%0A    %7D%0A%7D%0A

add simple server test