@Test public void shouldRewriteRowAndColumnsWithZeros() {

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