Fix indent
Rename stub and isEmpty to expect and verify
Verify raise exepction if failure