package com.insightfullogic.java8.examples.chapter8.lambdabehave.expectations;
import java.util.Collection;
import static junit.framework.Assert.assertTrue;
public class CollectionExpectation extends BoundExpectation {
private final Collection<?> objectUnderTest;
public CollectionExpectation(Collection<?> objectUnderTest) {
super(objectUnderTest);
this.objectUnderTest = objectUnderTest;
}
public void isEmpty() {
assertTrue(objectUnderTest.isEmpty());
}
}