コード例 #1
0
 @Test
 public void should_fail_if_actual_is_null() {
   long[] sequence = new long[1];
   String message = ShouldNotBeNull.shouldNotBeNull().create(description);
   thrown.expect(AssertionError.class, message);
   arrays.assertStartsWith(description, null, sequence);
 }
 @Test
 public void should_fail_if_actual_is_null() {
   String message = ShouldNotBeNull.shouldNotBeNull().create(description);
   thrown.expect(AssertionError.class, message);
   arrays.assertDoesNotHaveDuplicates(description, null);
 }