@Test public void shouldNotRewritePositionsWithNonZeroElements() {

  int[][] matrix = { { 1, 1 }, { 1, 1 } };
  rewriteMatrix.rewrite(matrix);
  int[][] expectedMatrix = { { 1, 1 }, { 1, 1 } };
  assertArrayEquals(expectedMatrix, matrix);
}