public void Static_ToBoolean_Should_Throw_On_Null() { Action action = () => AtomicBoolean.ToBoolean(null); action.ShouldThrow<InvalidCastException>(); }