/
AbstractAssert.html
2192 lines (2129 loc) · 169 KB
/
AbstractAssert.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_181) on Tue Aug 28 12:19:01 CEST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AbstractAssert (AssertJ fluent assertions 3.11.1 API)</title>
<meta name="date" content="2018-08-28">
<link rel="stylesheet" type="text/css" href="../../../../assertj-javadoc.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractAssert (AssertJ fluent assertions 3.11.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":42,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":9,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<script src="http://cdn.jsdelivr.net/highlight.js/8.6/highlight.min.js"></script>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractAssert.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/assertj/core/api/AbstractArrayAssert.html" title="class in org.assertj.core.api"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../../org/assertj/core/api/AbstractAtomicFieldUpdaterAssert.html" title="class in org.assertj.core.api"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/assertj/core/api/AbstractAssert.html" target="_top">Frames</a></li>
<li><a href="AbstractAssert.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field.summary">Field</a> | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field.detail">Field</a> | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.assertj.core.api</div>
<h2 title="Class AbstractAssert" class="title">Class AbstractAssert<SELF extends AbstractAssert<SELF,ACTUAL>,ACTUAL></h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.assertj.core.api.AbstractAssert<SELF,ACTUAL></li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>SELF</code> - the "self" type of this assertion class. Please read "<a href="http://bit.ly/1IZIRcY"
target="_blank">Emulating 'self types' using Java Generics to simplify fluent API implementation</a>"
for more details.</dd>
<dd><code>ACTUAL</code> - the type of the "actual" value.</dd>
</dl>
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../org/assertj/core/api/Assert.html" title="interface in org.assertj.core.api">Assert</a><SELF,ACTUAL>, <a href="../../../../org/assertj/core/api/Descriptable.html" title="interface in org.assertj.core.api">Descriptable</a><SELF>, <a href="../../../../org/assertj/core/api/ExtensionPoints.html" title="interface in org.assertj.core.api">ExtensionPoints</a><SELF,ACTUAL></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../org/assertj/core/api/AbstractBooleanAssert.html" title="class in org.assertj.core.api">AbstractBooleanAssert</a>, <a href="../../../../org/assertj/core/api/AbstractCharSequenceAssert.html" title="class in org.assertj.core.api">AbstractCharSequenceAssert</a>, <a href="../../../../org/assertj/core/api/AbstractClassAssert.html" title="class in org.assertj.core.api">AbstractClassAssert</a>, <a href="../../../../org/assertj/core/api/AbstractCompletableFutureAssert.html" title="class in org.assertj.core.api">AbstractCompletableFutureAssert</a>, <a href="../../../../org/assertj/core/api/AbstractDateAssert.html" title="class in org.assertj.core.api">AbstractDateAssert</a>, <a href="../../../../org/assertj/core/api/AbstractEnumerableAssert.html" title="class in org.assertj.core.api">AbstractEnumerableAssert</a>, <a href="../../../../org/assertj/core/api/AbstractFileAssert.html" title="class in org.assertj.core.api">AbstractFileAssert</a>, <a href="../../../../org/assertj/core/api/AbstractFutureAssert.html" title="class in org.assertj.core.api">AbstractFutureAssert</a>, <a href="../../../../org/assertj/core/api/AbstractInputStreamAssert.html" title="class in org.assertj.core.api">AbstractInputStreamAssert</a>, <a href="../../../../org/assertj/core/api/AbstractIterableAssert.html" title="class in org.assertj.core.api">AbstractIterableAssert</a>, <a href="../../../../org/assertj/core/api/AbstractObjectArrayAssert.html" title="class in org.assertj.core.api">AbstractObjectArrayAssert</a>, <a href="../../../../org/assertj/core/api/AbstractObjectAssert.html" title="class in org.assertj.core.api">AbstractObjectAssert</a>, <a href="../../../../org/assertj/core/api/AbstractOptionalAssert.html" title="class in org.assertj.core.api">AbstractOptionalAssert</a>, <a href="../../../../org/assertj/core/api/AbstractOptionalDoubleAssert.html" title="class in org.assertj.core.api">AbstractOptionalDoubleAssert</a>, <a href="../../../../org/assertj/core/api/AbstractOptionalIntAssert.html" title="class in org.assertj.core.api">AbstractOptionalIntAssert</a>, <a href="../../../../org/assertj/core/api/AbstractOptionalLongAssert.html" title="class in org.assertj.core.api">AbstractOptionalLongAssert</a>, <a href="../../../../org/assertj/core/api/AbstractPredicateAssert.html" title="class in org.assertj.core.api">AbstractPredicateAssert</a>, <a href="../../../../org/assertj/core/api/AbstractTemporalAssert.html" title="class in org.assertj.core.api">AbstractTemporalAssert</a>, <a href="../../../../org/assertj/core/api/AbstractUriAssert.html" title="class in org.assertj.core.api">AbstractUriAssert</a>, <a href="../../../../org/assertj/core/api/AbstractUrlAssert.html" title="class in org.assertj.core.api">AbstractUrlAssert</a>, <a href="../../../../org/assertj/core/api/AtomicBooleanAssert.html" title="class in org.assertj.core.api">AtomicBooleanAssert</a>, <a href="../../../../org/assertj/core/api/AtomicIntegerAssert.html" title="class in org.assertj.core.api">AtomicIntegerAssert</a>, <a href="../../../../org/assertj/core/api/AtomicLongAssert.html" title="class in org.assertj.core.api">AtomicLongAssert</a>, <a href="../../../../org/assertj/core/api/AtomicReferenceArrayAssert.html" title="class in org.assertj.core.api">AtomicReferenceArrayAssert</a>, <a href="../../../../org/assertj/core/api/AtomicReferenceAssert.html" title="class in org.assertj.core.api">AtomicReferenceAssert</a>, <a href="../../../../org/assertj/core/api/DoublePredicateAssert.html" title="class in org.assertj.core.api">DoublePredicateAssert</a>, <a href="../../../../org/assertj/core/api/IntPredicateAssert.html" title="class in org.assertj.core.api">IntPredicateAssert</a>, <a href="../../../../org/assertj/core/api/LongPredicateAssert.html" title="class in org.assertj.core.api">LongPredicateAssert</a>, <a href="../../../../org/assertj/core/api/ThrowableAssertAlternative.html" title="class in org.assertj.core.api">ThrowableAssertAlternative</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">AbstractAssert<SELF extends AbstractAssert<SELF,ACTUAL>,ACTUAL></span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../org/assertj/core/api/Assert.html" title="interface in org.assertj.core.api">Assert</a><SELF,ACTUAL></pre>
<div class="block">Base class for all assertions.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Alex Ruiz, Joel Costigliola, Mikhail Mazursky, Nicolas François</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#actual">actual</a></span></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/WritableAssertionInfo.html" title="class in org.assertj.core.api">WritableAssertionInfo</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#info">info</a></span></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#myself">myself</a></span></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#throwUnsupportedExceptionOnEquals">throwUnsupportedExceptionOnEquals</a></span></code> </td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#AbstractAssert-ACTUAL-java.lang.Class-">AbstractAssert</a></span>(<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a> actual,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> selfType)</code> </td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#as-org.assertj.core.description.Description-">as</a></span>(<a href="../../../../org/assertj/core/description/Description.html" title="class in org.assertj.core.description">Description</a> description)</code>
<div class="block">Sets the description of the assertion that is going to be called after.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#as-java.lang.String-java.lang.Object...-">as</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> description,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code>
<div class="block">Sets the description of the assertion that is going to be called after.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractListAssert.html" title="class in org.assertj.core.api">AbstractListAssert</a><?,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="../../../../org/assertj/core/api/ObjectAssert.html" title="class in org.assertj.core.api">ObjectAssert</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#asList--">asList</a></span>()</code>
<div class="block">Verifies that the actual value is an instance of List,
and returns a list assertion, to allow chaining of list-specific
assertions from this call.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractStringAssert.html" title="class in org.assertj.core.api">AbstractStringAssert</a><?></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#asString--">asString</a></span>()</code>
<div class="block">Verifies that the actual value is an instance of String,
and returns a String assertion, to allow chaining of String-specific
assertions from this call.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#describedAs-org.assertj.core.description.Description-">describedAs</a></span>(<a href="../../../../org/assertj/core/description/Description.html" title="class in org.assertj.core.description">Description</a> description)</code>
<div class="block">Sets the description of the assertion that is going to be called after.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#describedAs-java.lang.String-java.lang.Object...-">describedAs</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> description,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code>
<div class="block">Sets the description of the assertion that is going to be called after.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#descriptionText--">descriptionText</a></span>()</code>
<div class="block">The description of this assertion set with <a href="../../../../org/assertj/core/api/AbstractAssert.html#describedAs-java.lang.String-java.lang.Object...-"><code>describedAs(String, Object...)</code></a> or
<a href="../../../../org/assertj/core/api/AbstractAssert.html#describedAs-org.assertj.core.description.Description-"><code>describedAs(Description)</code></a>.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#doesNotHave-org.assertj.core.api.Condition-">doesNotHave</a></span>(<a href="../../../../org/assertj/core/api/Condition.html" title="class in org.assertj.core.api">Condition</a><? super <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>> condition)</code>
<div class="block">Verifies that the actual value does not satisfy the given condition.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#doesNotHaveSameClassAs-java.lang.Object-">doesNotHaveSameClassAs</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> other)</code>
<div class="block">Verifies that the actual value does not have the same class as the given object.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#equals-java.lang.Object-">equals</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="block"><span class="deprecationComment">use <a href="../../../../org/assertj/core/api/AbstractAssert.html#isEqualTo-java.lang.Object-"><code>isEqualTo(java.lang.Object)</code></a> instead</span></div>
</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#failWithMessage-java.lang.String-java.lang.Object...-">failWithMessage</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> errorMessage,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... arguments)</code>
<div class="block">Utility method to ease writing custom assertions classes using <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true#format-java.lang.String-java.lang.Object...-" title="class or interface in java.lang"><code>String.format(String, Object...)</code></a> specifiers
in error message.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/WritableAssertionInfo.html" title="class in org.assertj.core.api">WritableAssertionInfo</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#getWritableAssertionInfo--">getWritableAssertionInfo</a></span>()</code>
<div class="block">Exposes the <a href="../../../../org/assertj/core/api/WritableAssertionInfo.html" title="class in org.assertj.core.api"><code>WritableAssertionInfo</code></a> used in the current assertion for better extensibility.<br> When writing
your own assertion class, you can use the returned <a href="../../../../org/assertj/core/api/WritableAssertionInfo.html" title="class in org.assertj.core.api"><code>WritableAssertionInfo</code></a> to change the error message and
still keep the description set by the assertion user.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#has-org.assertj.core.api.Condition-">has</a></span>(<a href="../../../../org/assertj/core/api/Condition.html" title="class in org.assertj.core.api">Condition</a><? super <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>> condition)</code>
<div class="block">Verifies that the actual value satisfies the given condition.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#hashCode--">hashCode</a></span>()</code>
<div class="block">Always returns 1.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#hasSameClassAs-java.lang.Object-">hasSameClassAs</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> other)</code>
<div class="block">Verifies that the actual value has the same class as the given object.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#hasSameHashCodeAs-java.lang.Object-">hasSameHashCodeAs</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> other)</code>
<div class="block">Verifies that the actual object has the same hashCode as the given object.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#hasToString-java.lang.String-">hasToString</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> expectedToString)</code>
<div class="block">Verifies that actual <code>actual.toString()</code> is equal to the given <code>String</code>.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#inBinary--">inBinary</a></span>()</code>
<div class="block">Use binary object representation instead of standard representation in error messages.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#inHexadecimal--">inHexadecimal</a></span>()</code>
<div class="block">Use hexadecimal object representation instead of standard representation in error messages.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#is-org.assertj.core.api.Condition-">is</a></span>(<a href="../../../../org/assertj/core/api/Condition.html" title="class in org.assertj.core.api">Condition</a><? super <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>> condition)</code>
<div class="block">Verifies that the actual value satisfies the given condition.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isEqualTo-java.lang.Object-">isEqualTo</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> expected)</code>
<div class="block">Verifies that the actual value is equal to the given one.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isExactlyInstanceOf-java.lang.Class-">isExactlyInstanceOf</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</code>
<div class="block">Verifies that the actual value is <b>exactly</b> an instance of the given type.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isIn-java.lang.Iterable-">isIn</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><?> values)</code>
<div class="block">Verifies that the actual value is present in the given values.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isIn-java.lang.Object...-">isIn</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... values)</code>
<div class="block">Verifies that the actual value is present in the given array of values.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isInstanceOf-java.lang.Class-">isInstanceOf</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</code>
<div class="block">Verifies that the actual value is an instance of the given type.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isInstanceOfAny-java.lang.Class...-">isInstanceOfAny</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... types)</code>
<div class="block">Verifies that the actual value is an instance of any of the given types.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><T> <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isInstanceOfSatisfying-java.lang.Class-java.util.function.Consumer-">isInstanceOfSatisfying</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><T> requirements)</code>
<div class="block">Verifies that the actual value is an instance of the given type satisfying the given requirements expressed as a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function"><code>Consumer</code></a>.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isNot-org.assertj.core.api.Condition-">isNot</a></span>(<a href="../../../../org/assertj/core/api/Condition.html" title="class in org.assertj.core.api">Condition</a><? super <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>> condition)</code>
<div class="block">Verifies that the actual value does not satisfy the given condition.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isNotEqualTo-java.lang.Object-">isNotEqualTo</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> other)</code>
<div class="block">Verifies that the actual value is not equal to the given one.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isNotExactlyInstanceOf-java.lang.Class-">isNotExactlyInstanceOf</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</code>
<div class="block">Verifies that the actual value is not <b>exactly</b> an instance of given type.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isNotIn-java.lang.Iterable-">isNotIn</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><?> values)</code>
<div class="block">Verifies that the actual value is not present in the given values.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isNotIn-java.lang.Object...-">isNotIn</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... values)</code>
<div class="block">Verifies that the actual value is not present in the given array of values.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isNotInstanceOf-java.lang.Class-">isNotInstanceOf</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</code>
<div class="block">Verifies that the actual value is not an instance of the given type.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isNotInstanceOfAny-java.lang.Class...-">isNotInstanceOfAny</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... types)</code>
<div class="block">Verifies that the actual value is not an instance of any of the given types.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isNotNull--">isNotNull</a></span>()</code>
<div class="block">Verifies that the actual value is not <code>null</code>.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isNotOfAnyClassIn-java.lang.Class...-">isNotOfAnyClassIn</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... types)</code>
<div class="block">Verifies that the actual value type is not in given types.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isNotSameAs-java.lang.Object-">isNotSameAs</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> other)</code>
<div class="block">Verifies that the actual value is not the same as the given one, ie using == comparison.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isNull--">isNull</a></span>()</code>
<div class="block">Verifies that the actual value is <code>null</code>.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isOfAnyClassIn-java.lang.Class...-">isOfAnyClassIn</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... types)</code>
<div class="block">Verifies that the actual value type is in given types.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#isSameAs-java.lang.Object-">isSameAs</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> expected)</code>
<div class="block">Verifies that the actual value is the same as the given one, ie using == comparison.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#matches-java.util.function.Predicate-">matches</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function">Predicate</a><? super <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>> predicate)</code>
<div class="block">Verifies that the actual object matches the given predicate.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#matches-java.util.function.Predicate-java.lang.String-">matches</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function">Predicate</a><? super <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>> predicate,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> predicateDescription)</code>
<div class="block">Verifies that the actual object matches the given predicate, the predicate description is used to get an
informative error message.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>protected <E> <a href="../../../../org/assertj/core/api/AbstractListAssert.html" title="class in org.assertj.core.api">AbstractListAssert</a><?,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><? extends E>,E,<a href="../../../../org/assertj/core/api/ObjectAssert.html" title="class in org.assertj.core.api">ObjectAssert</a><E>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#newListAssertInstance-java.util.List-">newListAssertInstance</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><? extends E> newActual)</code>
<div class="block">Create a <a href="../../../../org/assertj/core/api/AbstractListAssert.html" title="class in org.assertj.core.api"><code>AbstractListAssert</code></a>.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#overridingErrorMessage-java.lang.String-java.lang.Object...-">overridingErrorMessage</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> newErrorMessage,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code>
<div class="block">Overrides AssertJ default error message by the given one.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#satisfies-org.assertj.core.api.Condition-">satisfies</a></span>(<a href="../../../../org/assertj/core/api/Condition.html" title="class in org.assertj.core.api">Condition</a><? super <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>> condition)</code>
<div class="block">Verifies that the actual value satisfies the given condition.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#satisfies-java.util.function.Consumer-">satisfies</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>> requirements)</code>
<div class="block">Verifies that the actual object satisfied the given requirements expressed as a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function"><code>Consumer</code></a>.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#setCustomRepresentation-org.assertj.core.presentation.Representation-">setCustomRepresentation</a></span>(<a href="../../../../org/assertj/core/presentation/Representation.html" title="interface in org.assertj.core.presentation">Representation</a> customRepresentation)</code> </td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#throwAssertionError-org.assertj.core.error.ErrorMessageFactory-">throwAssertionError</a></span>(<a href="../../../../org/assertj/core/error/ErrorMessageFactory.html" title="interface in org.assertj.core.error">ErrorMessageFactory</a> errorMessageFactory)</code>
<div class="block">Utility method to throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AssertionError.html?is-external=true" title="class or interface in java.lang"><code>AssertionError</code></a> given a <a href="../../../../org/assertj/core/error/BasicErrorMessageFactory.html" title="class in org.assertj.core.error"><code>BasicErrorMessageFactory</code></a>.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#usingComparator-java.util.Comparator-">usingComparator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><? super <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>> customComparator)</code>
<div class="block">Use the given custom comparator instead of relying on actual type A equals method for incoming assertion checks.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#usingComparator-java.util.Comparator-java.lang.String-">usingComparator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><? super <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>> customComparator,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> customComparatorDescription)</code>
<div class="block">Use the given custom comparator instead of relying on actual type A equals method for incoming assertion checks.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#usingDefaultComparator--">usingDefaultComparator</a></span>()</code>
<div class="block">Revert to standard comparison for the incoming assertion checks.</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#withFailMessage-java.lang.String-java.lang.Object...-">withFailMessage</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> newErrorMessage,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code>
<div class="block">Alternative method for <a href="../../../../org/assertj/core/api/AbstractAssert.html#overridingErrorMessage-java.lang.String-java.lang.Object...-"><code>overridingErrorMessage(java.lang.String, java.lang.Object...)</code></a></div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#withRepresentation-org.assertj.core.presentation.Representation-">withRepresentation</a></span>(<a href="../../../../org/assertj/core/presentation/Representation.html" title="interface in org.assertj.core.presentation">Representation</a> representation)</code>
<div class="block">Use the given <a href="../../../../org/assertj/core/presentation/Representation.html" title="interface in org.assertj.core.presentation"><code>Representation</code></a> to describe/represent values in AssertJ error messages.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/assertj/core/api/AbstractAssert.html#withThreadDumpOnError--">withThreadDumpOnError</a></span>()</code>
<div class="block">In case of an assertion error, a thread dump will be printed to <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/System.html?is-external=true#err" title="class or interface in java.lang"><code>System.err</code></a>.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="throwUnsupportedExceptionOnEquals">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>throwUnsupportedExceptionOnEquals</h4>
<pre>public static boolean throwUnsupportedExceptionOnEquals</pre>
</li>
</ul>
<a name="info">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>info</h4>
<pre>public final <a href="../../../../org/assertj/core/api/WritableAssertionInfo.html" title="class in org.assertj.core.api">WritableAssertionInfo</a> info</pre>
</li>
</ul>
<a name="actual">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>actual</h4>
<pre>protected final <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a> actual</pre>
</li>
</ul>
<a name="myself">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>myself</h4>
<pre>protected final <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> extends <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="class in org.assertj.core.api">AbstractAssert</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a>,<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>> myself</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractAssert-java.lang.Object-java.lang.Class-">
<!-- -->
</a><a name="AbstractAssert-ACTUAL-java.lang.Class-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractAssert</h4>
<pre>public AbstractAssert(<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a> actual,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> selfType)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getWritableAssertionInfo--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWritableAssertionInfo</h4>
<pre>public <a href="../../../../org/assertj/core/api/WritableAssertionInfo.html" title="class in org.assertj.core.api">WritableAssertionInfo</a> getWritableAssertionInfo()</pre>
<div class="block">Exposes the <a href="../../../../org/assertj/core/api/WritableAssertionInfo.html" title="class in org.assertj.core.api"><code>WritableAssertionInfo</code></a> used in the current assertion for better extensibility.<br> When writing
your own assertion class, you can use the returned <a href="../../../../org/assertj/core/api/WritableAssertionInfo.html" title="class in org.assertj.core.api"><code>WritableAssertionInfo</code></a> to change the error message and
still keep the description set by the assertion user.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="../../../../org/assertj/core/api/WritableAssertionInfo.html" title="class in org.assertj.core.api"><code>WritableAssertionInfo</code></a> used in the current assertion</dd>
</dl>
</li>
</ul>
<a name="failWithMessage-java.lang.String-java.lang.Object...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>failWithMessage</h4>
<pre>protected void failWithMessage(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> errorMessage,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... arguments)</pre>
<div class="block">Utility method to ease writing custom assertions classes using <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true#format-java.lang.String-java.lang.Object...-" title="class or interface in java.lang"><code>String.format(String, Object...)</code></a> specifiers
in error message.
<p>
Moreover, this method honors any description set with <a href="../../../../org/assertj/core/api/AbstractAssert.html#as-java.lang.String-java.lang.Object...-"><code>as(String, Object...)</code></a> or overridden error message
defined by the user with <a href="../../../../org/assertj/core/api/AbstractAssert.html#overridingErrorMessage-java.lang.String-java.lang.Object...-"><code>overridingErrorMessage(String, Object...)</code></a>.
<p>
Example :
<pre><code class='java'> public TolkienCharacterAssert hasName(String name) {
// check that actual TolkienCharacter we want to make assertions on is not null.
isNotNull();
// check condition
if (!actual.getName().equals(name)) {
failWithMessage("Expected character's name to be <%s> but was <%s>", name, actual.getName());
}
// return the current assertion for method chaining
return this;
}</code></pre></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>errorMessage</code> - the error message to format</dd>
<dd><code>arguments</code> - the arguments referenced by the format specifiers in the errorMessage string.</dd>
</dl>
</li>
</ul>
<a name="throwAssertionError-org.assertj.core.error.ErrorMessageFactory-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>throwAssertionError</h4>
<pre>protected void throwAssertionError(<a href="../../../../org/assertj/core/error/ErrorMessageFactory.html" title="interface in org.assertj.core.error">ErrorMessageFactory</a> errorMessageFactory)</pre>
<div class="block">Utility method to throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AssertionError.html?is-external=true" title="class or interface in java.lang"><code>AssertionError</code></a> given a <a href="../../../../org/assertj/core/error/BasicErrorMessageFactory.html" title="class in org.assertj.core.error"><code>BasicErrorMessageFactory</code></a>.
<p>
Instead of writing ...
<pre><code class='java'> throw Failures.instance().failure(info, ShouldBePresent.shouldBePresent());</code></pre>
... you can simply write :
<pre><code class='java'> throwAssertionError(info, ShouldBePresent.shouldBePresent());</code></pre></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>errorMessageFactory</code> - used to define the error message.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AssertionError.html?is-external=true" title="class or interface in java.lang">AssertionError</a></code> - with a message corresponding to the given <a href="../../../../org/assertj/core/error/BasicErrorMessageFactory.html" title="class in org.assertj.core.error"><code>BasicErrorMessageFactory</code></a>.</dd>
</dl>
</li>
</ul>
<a name="as-java.lang.String-java.lang.Object...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>as</h4>
<pre>public <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> as(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> description,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</pre>
<div class="block">Sets the description of the assertion that is going to be called after.
<p>
You must set it <b>before</b> calling the assertion otherwise it is ignored as the failing assertion breaks
the chained call by throwing an AssertionError.
<p>
The description follows <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true#format-java.lang.String-java.lang.Object...-" title="class or interface in java.lang"><code>String.format(String, Object...)</code></a> syntax.
<p>
Example :
<pre><code class='java'> try {
// set a bad age to Mr Frodo which is really 33 years old.
frodo.setAge(50);
// specify a test description (call as() before the assertion !), it supports String format syntax.
assertThat(frodo.getAge()).as("check %s's age", frodo.getName()).isEqualTo(33);
} catch (AssertionError e) {
assertThat(e).hasMessage("[check Frodo's age] expected:<[33]> but was:<[50]>");
}</code></pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/assertj/core/api/Descriptable.html#as-java.lang.String-java.lang.Object...-">as</a></code> in interface <code><a href="../../../../org/assertj/core/api/Descriptable.html" title="interface in org.assertj.core.api">Descriptable</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> extends <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="class in org.assertj.core.api">AbstractAssert</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a>,<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>description</code> - the new description to set.</dd>
<dd><code>args</code> - optional parameter if description is a format String.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> object.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/assertj/core/api/Descriptable.html#describedAs-java.lang.String-java.lang.Object...-"><code>Descriptable.describedAs(String, Object...)</code></a></dd>
</dl>
</li>
</ul>
<a name="as-org.assertj.core.description.Description-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>as</h4>
<pre>public <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> as(<a href="../../../../org/assertj/core/description/Description.html" title="class in org.assertj.core.description">Description</a> description)</pre>
<div class="block">Sets the description of the assertion that is going to be called after.
<p>
You must set it <b>before</b> calling the assertion otherwise it is ignored as the failing assertion breaks
the chained call by throwing an AssertionError.
<p>
This overloaded version of "describedAs" offers more flexibility than the one taking a <code>String</code> by allowing
users to pass their own implementation of a description. For example, a description that creates its value lazily,
only when an assertion failure occurs.
</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/assertj/core/api/Descriptable.html#as-org.assertj.core.description.Description-">as</a></code> in interface <code><a href="../../../../org/assertj/core/api/Descriptable.html" title="interface in org.assertj.core.api">Descriptable</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> extends <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="class in org.assertj.core.api">AbstractAssert</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a>,<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>description</code> - the new description to set.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> object.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/assertj/core/api/Descriptable.html#describedAs-org.assertj.core.description.Description-"><code>Descriptable.describedAs(Description)</code></a></dd>
</dl>
</li>
</ul>
<a name="inHexadecimal--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inHexadecimal</h4>
<pre>protected <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> inHexadecimal()</pre>
<div class="block">Use hexadecimal object representation instead of standard representation in error messages.
<p>
It can be useful when comparing UNICODE characters - many unicode chars have duplicate characters assigned, it is
thus impossible to find differences from the standard error message:
<p>
With standard message:
<pre><code class='java'> assertThat("µµµ").contains("μμμ");
java.lang.AssertionError:
Expecting:
<"µµµ">
to contain:
<"μμμ"></code></pre>
With Hexadecimal message:
<pre><code class='java'> assertThat("µµµ").inHexadecimal().contains("μμμ");
java.lang.AssertionError:
Expecting:
<"['00B5', '00B5', '00B5']">
to contain:
<"['03BC', '03BC', '03BC']"></code></pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> assertion object.</dd>
</dl>
</li>
</ul>
<a name="inBinary--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inBinary</h4>
<pre>protected <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> inBinary()</pre>
<div class="block">Use binary object representation instead of standard representation in error messages.
<p>
Example:
<pre><code class='java'> assertThat(1).inBinary().isEqualTo(2);
org.junit.ComparisonFailure:
Expected :0b00000000_00000000_00000000_00000010
Actual :0b00000000_00000000_00000000_00000001</code></pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> assertion object.</dd>
</dl>
</li>
</ul>
<a name="describedAs-java.lang.String-java.lang.Object...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>describedAs</h4>
<pre>public <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> describedAs(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> description,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</pre>
<div class="block">Sets the description of the assertion that is going to be called after.
<p>
You must set it <b>before</b> calling the assertion otherwise it is ignored as the failing assertion breaks
the chained call by throwing an AssertionError.
<p>
Alias for <code><a href="../../../../org/assertj/core/api/Descriptable.html#as-java.lang.String-java.lang.Object...-"><code>Descriptable.as(String, Object...)</code></a></code> since "as" is a keyword in <a
href="http://groovy-lang.org/" target="_blank">Groovy</a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/assertj/core/api/Descriptable.html#describedAs-java.lang.String-java.lang.Object...-">describedAs</a></code> in interface <code><a href="../../../../org/assertj/core/api/Descriptable.html" title="interface in org.assertj.core.api">Descriptable</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> extends <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="class in org.assertj.core.api">AbstractAssert</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a>,<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>description</code> - the new description to set.</dd>
<dd><code>args</code> - optional parameter if description is a format String.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> object.</dd>
</dl>
</li>
</ul>
<a name="describedAs-org.assertj.core.description.Description-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>describedAs</h4>
<pre>public <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> describedAs(<a href="../../../../org/assertj/core/description/Description.html" title="class in org.assertj.core.description">Description</a> description)</pre>
<div class="block">Sets the description of the assertion that is going to be called after.
<p>
You must set it <b>before</b> calling the assertion otherwise it is ignored as the failing assertion breaks
the chained call by throwing an AssertionError.
<p>
This overloaded version of "describedAs" offers more flexibility than the one taking a <code>String</code> by allowing
users to pass their own implementation of a description. For example, a description that creates its value lazily,
only when an assertion failure occurs.
</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/assertj/core/api/Descriptable.html#describedAs-org.assertj.core.description.Description-">describedAs</a></code> in interface <code><a href="../../../../org/assertj/core/api/Descriptable.html" title="interface in org.assertj.core.api">Descriptable</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> extends <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="class in org.assertj.core.api">AbstractAssert</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a>,<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>description</code> - the new description to set.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> object.</dd>
</dl>
</li>
</ul>
<a name="isEqualTo-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEqualTo</h4>
<pre>public <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> isEqualTo(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> expected)</pre>
<div class="block">Verifies that the actual value is equal to the given one.
<p>
Example:
<pre><code class='java'> // assertions will pass
assertThat("abc").isEqualTo("abc");
assertThat(new HashMap<String, Integer>()).isEqualTo(new HashMap<String, Integer>());
// assertions will fail
assertThat("abc").isEqualTo("123");
assertThat(new ArrayList<String>()).isEqualTo(1);</code></pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/assertj/core/api/Assert.html#isEqualTo-java.lang.Object-">isEqualTo</a></code> in interface <code><a href="../../../../org/assertj/core/api/Assert.html" title="interface in org.assertj.core.api">Assert</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> extends <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="class in org.assertj.core.api">AbstractAssert</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a>,<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>>,<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>expected</code> - the given value to compare the actual value to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> assertion object.</dd>
</dl>
</li>
</ul>
<a name="isNotEqualTo-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNotEqualTo</h4>
<pre>public <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> isNotEqualTo(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> other)</pre>
<div class="block">Verifies that the actual value is not equal to the given one.
<p>
Example:
<pre><code class='java'> // assertions will pass
assertThat("abc").isNotEqualTo("123");
assertThat(new ArrayList<String>()).isNotEqualTo(1);
// assertions will fail
assertThat("abc").isNotEqualTo("abc");
assertThat(new HashMap<String, Integer>()).isNotEqualTo(new HashMap<String, Integer>());</code></pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/assertj/core/api/Assert.html#isNotEqualTo-java.lang.Object-">isNotEqualTo</a></code> in interface <code><a href="../../../../org/assertj/core/api/Assert.html" title="interface in org.assertj.core.api">Assert</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> extends <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="class in org.assertj.core.api">AbstractAssert</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a>,<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>>,<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>other</code> - the given value to compare the actual value to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> assertion object.</dd>
</dl>
</li>
</ul>
<a name="isNull--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNull</h4>
<pre>public void isNull()</pre>
<div class="block">Verifies that the actual value is <code>null</code>.
<p>
Example:
<pre><code class='java'> String value = null;
// assertion will pass
assertThat(value).isNull();
// assertions will fail
assertThat("abc").isNull();
assertThat(new HashMap<String, Integer>()).isNull();</code></pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/assertj/core/api/Assert.html#isNull--">isNull</a></code> in interface <code><a href="../../../../org/assertj/core/api/Assert.html" title="interface in org.assertj.core.api">Assert</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> extends <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="class in org.assertj.core.api">AbstractAssert</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a>,<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>>,<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>></code></dd>
</dl>
</li>
</ul>
<a name="isNotNull--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNotNull</h4>
<pre>public <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> isNotNull()</pre>
<div class="block">Verifies that the actual value is not <code>null</code>.
<p>
Example:
<pre><code class='java'> // assertion will pass
assertThat("abc").isNotNull();
assertThat(new HashMap<String, Integer>()).isNotNull();
// assertion will fail
String value = null;
assertThat(value).isNotNull();</code></pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/assertj/core/api/Assert.html#isNotNull--">isNotNull</a></code> in interface <code><a href="../../../../org/assertj/core/api/Assert.html" title="interface in org.assertj.core.api">Assert</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> extends <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="class in org.assertj.core.api">AbstractAssert</a><<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a>,<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>>,<a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">ACTUAL</a>></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> assertion object.</dd>
</dl>
</li>
</ul>
<a name="isSameAs-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSameAs</h4>
<pre>public <a href="../../../../org/assertj/core/api/AbstractAssert.html" title="type parameter in AbstractAssert">SELF</a> isSameAs(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> expected)</pre>
<div class="block">Verifies that the actual value is the same as the given one, ie using == comparison.
<p>
Example:
<pre><code class='java'> // Name is a class with first and last fields, two Names are equals if both first and last are equals.
Name tyrion = new Name("Tyrion", "Lannister");
Name alias = tyrion;
Name clone = new Name("Tyrion", "Lannister");
// assertions succeed:
assertThat(tyrion).isSameAs(alias)
.isEqualTo(clone);
// assertion fails:
assertThat(tyrion).isSameAs(clone);</code></pre></div>
<dl>