Ejemplo n.º 1
0
        public void Should_correct_create_filter_by_null_in_org_id()
        {
            var filter = new DocflowFilterBuilder().CreateFilter();

            filter.SetOrgId(null);

            filter.ToQueryParameters().Should().BeEmpty();
        }
Ejemplo n.º 2
0
        public void Should_create_correct_control_unit_filter_when_cu_is_null()
        {
            var filter = new DocflowFilterBuilder()
                         .CreateFilter();

            filter.SetCu(null);

            filter.ToQueryParameters().Should().BeEmpty();
        }