public void AddEntity_ValidEntity_AddsEntityToTransform() { var transform = new Transformation(new[] { "EntityValue", "field1=value1#field2=value2" }); transform.AddEntity("EntityType", "EntityValue", 2); Assert.Equal("EntityType", transform.Entities[0].EntityType); Assert.Equal("EntityValue", transform.Entities[0].Value); Assert.Equal(2, transform.Entities[0].Weight); }