public void ReturnsEmptyPropertyWhereThereIsNoMatch() { var expectedResponse = new UhPropertyEntity(); var result = _classUnderTest.FromUHProperty(expectedResponse); Assert.True(result is Property); Assert.IsNull(result.PropRef); Assert.IsNull(result.Telephone); }
public Property FromUHProperty(UhPropertyEntity uhproperty) { return(_mapper.Map <Property>(uhproperty)); }