@Test
public void testStartingPositionHead() {

    // Create consume request
    final ConsumeRequest consumeRequest = new ConsumeRequest();
    consumeRequest.setAction("head");
    // Create instance & override
    final ViewCustomizer viewCustomizer = new ViewCustomizer(new View(), consumeRequest);
    final StartingPosition startingPosition = viewCustomizer.getStartingPosition();
    // validate
    assertNotNull(startingPosition);
    assertFalse(startingPosition.isStartFromTail());
    assertFalse(startingPosition.isStartFromOffsets());
    assertFalse(startingPosition.isStartFromTimestamp());
    assertTrue(startingPosition.isStartFromHead());
}