@Test public void testResponseIsEquals() { Assertions.assertThat(ResponseUtils.isEquals(new byte[] { (byte) 0x90, 0 }, SwEnum.SW_9000)).isEqualTo(true); Assertions.assertThat(ResponseUtils.isEquals(new byte[] { (byte) 0x6D, 18 }, SwEnum.SW_6D)).isEqualTo(true); Assertions.assertThat(ResponseUtils.isEquals(new byte[] { (byte) 0x00, 0 }, SwEnum.SW_6D)).isEqualTo(false); Assertions.assertThat(ResponseUtils.isEquals(null, SwEnum.SW_6D)).isEqualTo(false); }
public static boolean isEquals(final byte[] pByte, final SwEnum pEnum) { return contains(pByte, pEnum); }
ResponseUtils { public static boolean isEquals(final byte[] pByte, final SwEnum pEnum) { return contains(pByte, pEnum); } }
ResponseUtils { public static boolean isEquals(final byte[] pByte, final SwEnum pEnum) { return contains(pByte, pEnum); } private  ResponseUtils(); }
ResponseUtils { public static boolean isEquals(final byte[] pByte, final SwEnum pEnum) { return contains(pByte, pEnum); } private  ResponseUtils(); static boolean isSucceed(final byte[] pByte); static boolean isEquals(final byte[] pByte, final SwEnum pEnum); static boolean contains(final byte[] pByte, final SwEnum... pEnum); }
ResponseUtils { public static boolean isEquals(final byte[] pByte, final SwEnum pEnum) { return contains(pByte, pEnum); } private  ResponseUtils(); static boolean isSucceed(final byte[] pByte); static boolean isEquals(final byte[] pByte, final SwEnum pEnum); static boolean contains(final byte[] pByte, final SwEnum... pEnum);  }