public void Apply_DadoFiltroComOrderSorts_DeveRetornar(Restful.Query.Filter.Filters.Ordering.OrderByDirection sorts, OrderByDirection expected) { _filterStub .Setup(p => p.OrderBy) .Returns(new Restful.Query.Filter.Filters.Ordering.OrderBy(new List<Restful.Query.Filter.Filters.Ordering.Field> { new Restful.Query.Filter.Filters.Ordering.Field("", sorts) })); var orderDirection = new OrderDirection(); var actual = orderDirection.Apply(_filterStub.Object); actual.Should().Be(expected); }