示例#1
0
        public void ApplyingNullReferenceFilterOnAliasThrows()
        {
            IImmediateFlowQuery <UserEntity> query = DummyQuery <UserEntity>();

            Setting alias = null;

            Assert.That(() => query.ApplyFilterOn(() => alias, null), Throws.InstanceOf <ArgumentNullException>());
        }
示例#2
0
        public void ApplyingNullReferenceAliasOnAliasThrows()
        {
            IImmediateFlowQuery <UserEntity> query = DummyQuery <UserEntity>();

            Assert
            .That
            (
                () => query.ApplyFilterOn(null, Where.Id_Of_Setting_Is(1)),
                Throws.InstanceOf <ArgumentNullException>()
            );
        }