Class YLongToObjectMapTests
java.lang.Object
de.hybris.platform.util.collections.fast.YLongToObjectMapTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
YLongToObjectMapTests
public YLongToObjectMapTests()
-
-
Method Details
-
shouldBeAbleToCreateByDefaultConstructor
public void shouldBeAbleToCreateByDefaultConstructor() -
shouldBeAbleToCreateWithInitialCapacity
public void shouldBeAbleToCreateWithInitialCapacity() -
shouldBeEmptyAfterClear
public void shouldBeEmptyAfterClear() -
shouldBeAbleToPutValuesForTheSameKey
public void shouldBeAbleToPutValuesForTheSameKey() -
shouldNotFailOnGettingNonExistingKey
public void shouldNotFailOnGettingNonExistingKey() -
shouldBeAbleToGetExistingValue
public void shouldBeAbleToGetExistingValue() -
shouldReturnNullWhenGettingNotExistingValue
public void shouldReturnNullWhenGettingNotExistingValue() -
shouldReturnNullWhenPuttingKeyForTheFirstTime
public void shouldReturnNullWhenPuttingKeyForTheFirstTime() -
shouldReturnPreviousValueWhenExistingKeyIsBeingReplaced
public void shouldReturnPreviousValueWhenExistingKeyIsBeingReplaced() -
shouldReturnNullWhenRemovingNotExistingKey
public void shouldReturnNullWhenRemovingNotExistingKey() -
shouldReturnPreviousValueWhenRemovingExistingKey
public void shouldReturnPreviousValueWhenRemovingExistingKey() -
shouldBeAbleToPutNullValue
public void shouldBeAbleToPutNullValue() -
sizeShouldBeZeroWhenSetIsEmpty
public void sizeShouldBeZeroWhenSetIsEmpty() -
sizeShouldBeProperWhenSetIsNotEmpty
public void sizeShouldBeProperWhenSetIsNotEmpty() -
shouldBeEmptyWhenThereAreNoElements
public void shouldBeEmptyWhenThereAreNoElements() -
shouldNotBeEmptyWhenTherIsAnyElement
public void shouldNotBeEmptyWhenTherIsAnyElement() -
shouldContainsExistingKey
public void shouldContainsExistingKey() -
shouldThrowExceptionWhenNullEntryProcedureHasBeenPassed
public void shouldThrowExceptionWhenNullEntryProcedureHasBeenPassed() -
shouldThrowExceptionWhenNullKeyProcedureHasBeenPassed
public void shouldThrowExceptionWhenNullKeyProcedureHasBeenPassed() -
procedureShouldNotBeCalledForMapWithoutEntries
public void procedureShouldNotBeCalledForMapWithoutEntries() -
procedureShouldNotBeCalledForMapWithoutKeys
public void procedureShouldNotBeCalledForMapWithoutKeys() -
procedureShouldBeCalledForMapWithEntries
public void procedureShouldBeCalledForMapWithEntries() -
procedureShouldBeCalledForMapWithKeys
public void procedureShouldBeCalledForMapWithKeys()
-