@Test
public void testGetPort() {

    final TextApplication application1 = new TextApplication();
    application1.setPort(4242);
    Assert.assertEquals(4242, application1.getPort());
    final TextApplication application2 = new TextApplication();
    Assert.assertEquals(0, application2.getPort());
}