             }
 
             if(actual) {
-				failNotEquals(message, false, actual);
+				throw new AssertionFailedError(format(message, false, actual));
             }
         }
         /**

            else {
                throw new IllegalOperationError("Invalid argument count");
            }

            assertEquals(message, null, actual);
        }
        /**
         * Asserts that two objects refer to the same object. If they are not

                throw new IllegalOperationError("Invalid argument count");
            }

            if(expected !== actual) {
				throw new AssertionFailedError("expected same as:<" + expected + "> but was:<" + actual + ">");
            }
        }
         /**
          * Asserts that two objects do not refer to the same object. If they do,
