@Test
public void testDocumentOneWorkAreaFunction()
{

    Mockito.when(this.functionMock.getWorkAreaOne()).thenReturn(workAreaOne);
    Mockito.when(this.functionMock.isTwoWorkAreas()).thenReturn(false);
    FunctionDocumentation result = this.documentationConfig.document(functionDocumentation, functionMock);
    assertSame(functionDocumentation, result);
    assertEquals(2, result.getFields().size());
    assertTrue(result.getFields().contains(iDocOne));
    assertTrue(result.getFields().contains(iDocTwo));
    Mockito.verify(this.functionMock, Mockito.never()).getWorkAreaTwo();
}