@Test
public void verifyGetPeriodOffsetRowNoMatch()
{

    // Given
    Grid grid = new ListGrid();
    grid.addHeader( new GridHeader( DimensionalObject.DATA_X_DIM_ID ) );
    grid.addHeader( new GridHeader( DimensionalObject.ORGUNIT_DIM_ID ) );
    grid.addHeader( new GridHeader( DimensionalObject.PERIOD_DIM_ID ) );
    grid.addRow();
    grid.addValue( "de1" );
    grid.addValue( "ou2" );
    grid.addValue( "202001" );
    grid.addValue( 3 );
    grid.addRow();
    grid.addValue( "de1" );
    grid.addValue( "ou3" );
    grid.addValue( "202002" );
    grid.addValue( 5 );
    DataElement dataElement = createDataElement( 0 );
    dataElement.setUid( "de1" );
    // When
    final List<Object> row = PeriodOffsetUtils.getPeriodOffsetRow( grid, dataElement, "202003", 1 );
    // Then
    assertThat( row, is( nullValue() ) );
}