You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Throwableexception = assertThrows(IllegalStateException.class, gameObject::fixedUpdateBehaviors, "Trying to update the behavior without initializing it should throw a null pointer exception on the Pointf, wrapped in an illegal state exception.");
202
-
assertEquals(NullPointerException.class, exception.getCause().getClass(), "The underlying exception should be a null pointer exception.");
199
+
gameObject.addBehavior(mockBehavior, mockScene); // pointf is null here
200
+
assertThrows(NullPointerException.class, gameObject::fixedUpdateBehaviors, "Trying to update the behavior without initializing it should throw a null pointer exception on the Pointf.");
0 commit comments