Java Assert Equal assertEquals(Integer a, Integer b)

Here you can find the source of assertEquals(Integer a, Integer b)

Description

assert Equals

License

Open Source License

Declaration

private static void assertEquals(Integer a, Integer b) 

Method Source Code

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

public class Main {
    private static void assertEquals(Integer a, Integer b) {
        if (!a.equals(b))
            throw new AssertionError();
    }//from  w ww . ja  va 2 s.  c o m
}

Related

  1. assertEquals(final int expected, final int actual)
  2. assertEquals(final Object actual, final Object expected, final String name)
  3. assertEquals(float a1, float a2)
  4. assertEquals(int a, int b)
  5. assertEquals(int i1, int i2)
  6. assertEquals(Object a, Object b, String msg)
  7. assertEquals(Object exp, Object actual)
  8. assertEquals(Object expected, Object actual)
  9. assertEquals(Object expected, Object actual)