@Test
public void testBasicType() {

    // Given
    TimeUtils time = new TimeUtils();
    CollectorFactory factory = new CollectorFactory(CollectorType.BASIC, time, null, null, null);
    // when
    CollectorType type = factory.getType();
    // Then
    assertThat(type).isEqualTo(CollectorType.BASIC);
}