// Create a array with out null and 0 values Integer[] integers = Op.onArrayFor(1, 2, 3, null, 4, null, 0).removeAllNull().removeAllEqual(0).get(); // Assert for (Integer value : integers) { assertNotNull(value); assertNotSame(0, value); }