@Test
public void testIsHeaderEditableInstanceAssignedButPropertySelected() {

    when(scenarioGridColumnOne.isInstanceAssigned()).thenReturn(true);
    final ScenarioHeaderMetaData metaDataMock = (ScenarioHeaderMetaData) scenarioGridColumnOne.getHeaderMetaData().get(0);
    when(metaDataMock.isPropertyHeader()).thenReturn(true);
    final boolean result = ScenarioSimulationGridHeaderUtilities.isEditableHeader(scenarioGridColumnOne, 0);
    assertThat(result).as("Instance Assigned but Property selected").isFalse();
}