a small refactor for test case test_should_throw_exception_when_cabinet_is_full