public void ApplyingNullReferenceFilterOnAliasThrows() { IImmediateFlowQuery <UserEntity> query = DummyQuery <UserEntity>(); Setting alias = null; Assert.That(() => query.ApplyFilterOn(() => alias, null), Throws.InstanceOf <ArgumentNullException>()); }
public void ApplyingNullReferenceAliasOnAliasThrows() { IImmediateFlowQuery <UserEntity> query = DummyQuery <UserEntity>(); Assert .That ( () => query.ApplyFilterOn(null, Where.Id_Of_Setting_Is(1)), Throws.InstanceOf <ArgumentNullException>() ); }