lld-parking-lot icon indicating copy to clipboard operation
lld-parking-lot copied to clipboard

Repository for low level design solution of parking lot

Results 4 lld-parking-lot issues
Sort by recently updated
recently updated
newest added

Tests in error: testCorrectSlotNumberForNonExistingRegistrationNumber(com.uditagarwal.commands.SlotForRegNumberCommandExecutorTest) testInvalidCommand(com.uditagarwal.commands.SlotForRegNumberCommandExecutorTest): Could not initialize class org.mockito.internal.creation.cglib.ClassImposterizer$3 testCorrectSlotNumberForValidRegistrationNumber(com.uditagarwal.commands.SlotForRegNumberCommandExecutorTest): Could not initialize class org.mockito.internal.creation.cglib.ClassImposterizer$3 testValidCommand(com.uditagarwal.commands.SlotForRegNumberCommandExecutorTest): Could not initialize class org.mockito.internal.creation.cglib.ClassImposterizer$3 testCarsWithAColor(com.uditagarwal.commands.ColorToRegNumberCommandExecutorTest): Could not initialize class org.mockito.internal.creation.cglib.ClassImposterizer$3 testInvalidCommand(com.uditagarwal.commands.ColorToRegNumberCommandExecutorTest): Could...

Can you help me in understanding the need of creating a new reference for hashmap `slots` named `allSlots` using the getter method? _**Considering we can use the class variable `slots`...

parkingLot.getSlots().put(i, null); We can add below lines to the constuctor to create emptly slots.