Refactor code

* Split heartbeat-context into 2
* Move new heartbeat-repo-collector-context out of application-context-core
This commit is contained in:
Erik Knizat
2017-09-13 17:08:30 +01:00
parent c6c6b972d5
commit 02a5b1b2fc
6 changed files with 29 additions and 39 deletions

View File

@@ -77,13 +77,11 @@ public class HBDataCollectorServiceImplTest
dataCollectorService.enabled(true);
verify(mockDataSenderService).enable(true);
}
@Test
public void testCollectAndSendData()
{
// Set up dummy collector 1
HBData c1Data = new HBData("sys", "c1","1.0",null);
HBBaseDataCollector c1 = new DummyCollector(c1Data);