@@ -0,0 +1,810 @@
+/**%0A * @license%0A * Copyright 2018 The FOAM Authors. All Rights Reserved.%0A * http://www.apache.org/licenses/LICENSE-2.0%0A */%0A%0Apackage foam.mlang;%0A%0Aimport foam.core.X;%0Aimport foam.nanos.auth.*;%0Aimport static foam.mlang.MLang.*;%0A%0Apublic class MLangTest%0A  extends foam.nanos.test.Test%0A%7B%0A  public void runTest(X x) %7B%0A    // Test INSTANCE_OF%0A    test(%0A      INSTANCE_OF(User.class).f(new User()),%0A      %22INSTANCE_OF detects instance with class%22);%0A%0A    test(%0A      ! INSTANCE_OF(User.class).f(new Group()),%0A      %22INSTANCE_OF rejects non instance with class%22);%0A%0A    test(%0A      INSTANCE_OF(User.getOwnClassInfo()).f(new User()),%0A      %22INSTANCE_OF detects instance with ClassInfo%22);%0A%0A    test(%0A      ! INSTANCE_OF(User.getOwnClassInfo()).f(new Group()),%0A      %22INSTANCE_OF rejects non instance with ClassInfo%22);%0A  %7D%0A%7D%0A

Add test for INSTANCE_OF MLang.