Heartbeat extends HeartbeatServlet { @Override public void init() throws ServletException { loadProperties(); }  @Override void init();  }
@Test public void testInit() throws ServletException { Heartbeat h = new Heartbeat(); h.init(); assertNotNull("Parameetrite laadimine ei õnnestunud", BuildProperty.NAME.getValue()); }