public final class TableSubject<S extends TableSubject<S,R,C,V,T>,R,C,V,T extends com.google.common.collect.Table<R,C,V>> extends Subject<S,T>
Table
subjects.Subject.HasField
failureStrategy
Modifier and Type | Method and Description |
---|---|
void |
contains(Object rowKey,
Object columnKey)
Fails if the table does not contain a mapping for the given row key and column key.
|
void |
containsCell(Object rowKey,
Object colKey,
Object value)
Fails if the table does not contain the given cell.
|
void |
containsColumn(Object columnKey)
Fails if the table does not contain the given column key.
|
void |
containsRow(Object rowKey)
Fails if the table does not contain the given row key.
|
void |
containsValue(Object value)
Fails if the table does not contain the given value.
|
void |
doesNotContain(Object rowKey,
Object columnKey)
Fails if the table contains a mapping for the given row key and column key.
|
void |
doesNotContainCell(Object rowKey,
Object colKey,
Object value)
Fails if the table contains the given cell.
|
void |
hasSize(int expectedSize)
Fails if the table does not have the given size.
|
void |
isEmpty()
Fails if the table is not empty.
|
void |
isNotEmpty()
Fails if the table is empty.
|
check, equals, fail, fail, fail, failWithBadResults, failWithCustomSubject, failWithoutSubject, failWithRawMessage, getDisplaySubject, getSubject, hasField, hashCode, internalCustomName, is, isA, isEqualTo, isInstanceOf, isNotA, isNotEqualTo, isNotInstanceOf, isNotNull, isNotSameAs, isNull, isSameAs, labeled, named
public void isEmpty()
public void isNotEmpty()
public final void hasSize(int expectedSize)
public void contains(Object rowKey, Object columnKey)
public void doesNotContain(Object rowKey, Object columnKey)
public void containsCell(Object rowKey, Object colKey, Object value)
public void doesNotContainCell(Object rowKey, Object colKey, Object value)
public void containsRow(Object rowKey)
public void containsColumn(Object columnKey)
public void containsValue(Object value)
Copyright © 2014. All rights reserved.