### Question:
ObjectStack { public void push(Object value) { collection.add(value); } ObjectStack(); boolean isEmpty(); int size(); void push(Object value); Object pop(); Object peek(); void clear();  }### Answer:
@Test void testPushOfNull() { assertThrows(NullPointerException.class, () -> createStackWithNElements(5).push(null)); }