@CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = {ZERO, ONE}) public void testRetainAll_nullSingletonPreviouslySeveralWithNull() { initCollectionWithNullElement(); expectReturnsTrue(nullSingleton); expectContents(nullSingleton.toRetain); }
@CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testRetainAll_containsNonNullWithNull() { initCollectionWithNullElement(); expectReturnsTrue(disjoint); expectContents(); }
@CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES}) @CollectionSize.Require(ONE) public void testRetainAll_nullSingletonPreviouslySingletonWithNull() { initCollectionWithNullElement(); expectReturnsFalse(nullSingleton); expectContents(createArrayWithNullElement()); }
@CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testRetainAll_containsNonNullWithNull() { initCollectionWithNullElement(); expectReturnsTrue(disjoint); expectContents(); }
@CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = {ZERO, ONE}) public void testRetainAll_nullSingletonPreviouslySeveralWithNull() { initCollectionWithNullElement(); expectReturnsTrue(nullSingleton); expectContents(nullSingleton.toRetain); }
@CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = {ZERO, ONE}) public void testRetainAll_nullSingletonPreviouslySeveralWithNull() { initCollectionWithNullElement(); expectReturnsTrue(nullSingleton); expectContents(nullSingleton.toRetain); }
@CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testRetainAll_containsNonNullWithNull() { initCollectionWithNullElement(); expectReturnsTrue(disjoint); expectContents(); }
@CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES}) @CollectionSize.Require(ONE) public void testRetainAll_nullSingletonPreviouslySingletonWithNull() { initCollectionWithNullElement(); expectReturnsFalse(nullSingleton); expectContents(createArrayWithNullElement()); }
@CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES}) @CollectionSize.Require(ONE) public void testRetainAll_nullSingletonPreviouslySingletonWithNull() { initCollectionWithNullElement(); expectReturnsFalse(nullSingleton); expectContents(createArrayWithNullElement()); }