public class ARoomShould
extends java.lang.Object
Room
.Constructor and Description |
---|
ARoomShould() |
Modifier and Type | Method and Description |
---|---|
void |
beAbleToHoldAnAlternateName()
Assert a room can hold an alternate room name.
|
void |
beAbleToHoldResources()
Assert a room can hold resources of multiple types.
|
void |
beAbleToUpdateComputerAvailability()
Assert that, once updated, the new computer resource is different from the old for a given room.
|
void |
beSituatedOnAFloor()
Assert rooms can have a floor.
|
void |
formatRoomNumberCorrectly()
Assert room number can be formatted correctly given floor and initial room number.
|
void |
haveAResidentStaffMember()
Assert a StaffMember object can be instantiated given the staff resident identifier.
|
void |
haveAStaffResidentIdentifier()
Assert the room can hold a staff member.
|
void |
holdAValidRoomNumber()
Assert room can hold a room number.
|
void |
returnedAsAStringRepresentation()
Assert that a room can be correctly returned as a string representation.
|
void |
setUp() |
public void setUp()
public void beSituatedOnAFloor()
public void holdAValidRoomNumber()
public void beAbleToHoldAnAlternateName()
public void beAbleToHoldResources()
public void haveAStaffResidentIdentifier()
public void formatRoomNumberCorrectly()
public void haveAResidentStaffMember()
public void beAbleToUpdateComputerAvailability()
public void returnedAsAStringRepresentation()