Java Assert assertSame(Object targetObject0, Object targetObject1)

Here you can find the source of assertSame(Object targetObject0, Object targetObject1)

Description

assert Same

License

Open Source License

Declaration

public static void assertSame(Object targetObject0, Object targetObject1) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static void assertSame(Object targetObject0, Object targetObject1) {
        System.out.println(targetObject0 == targetObject1);
    }/* w w  w  . j a v a 2 s  .c o m*/
}

Related

  1. assertPrecondition(boolean b)
  2. assertQualifiedString(String str, String argName)
  3. assertRange(String label, double value, double min, double max)
  4. assertRequiredArgs(Object[] methodArgs, int requiredArgs, String methodName)
  5. assertSame(Object expected, Object actual)
  6. assertSameClazz(Object object, Object defaults)
  7. assertSameObject(Object obj1, Object obj2)
  8. assertSameSize(double[][] newLogPhi, double[][] logPhi)
  9. assertSorted(final int[] values)