ShouldHaveFlag allows you to assert whether an object is an enum and has a flag specified.
ShouldHaveFlag
Conversely ShouldNotHaveFlag allows you to assert the opposite; that an object is an enum but does not have a flag specified.
ShouldNotHaveFlag
Exception