@Test public void shouldReportThatPublicationHasBeenConnectedYet() { assertTrue(publication.hasBeenConnected()); }
@Test public void shouldReportThatPublicationHasNotBeenConnectedYet() { when(publicationLimit.getVolatile()).thenReturn(0L); assertFalse(publication.hasBeenConnected()); }