public void It_Should_Create_Projection_Params_From_Object() { var parameters = ProjectionParams.FromValue(new List <object> { "field1", "field2", "field3" }); Assert.Equal(3, parameters.Count); Assert.Equal("field1", parameters[0]); Assert.Equal("field2", parameters[1]); Assert.Equal("field3", parameters[2]); }
public void It_Should_Create_Projection_Params_From_Null_Object() { var parameters = ProjectionParams.FromValue(null); Assert.Empty(parameters); }