public void MapBOToEF() { var mapper = new DALWorkerMapper(); var bo = new BOWorker(); bo.SetProperties("A", "A", "A", true, "A", "A", "A", "A", "A", "A"); Worker response = mapper.MapBOToEF(bo); response.CommunicationStyle.Should().Be("A"); response.Fingerprint.Should().Be("A"); response.Id.Should().Be("A"); response.IsDisabled.Should().Be(true); response.JSON.Should().Be("A"); response.MachinePolicyId.Should().Be("A"); response.Name.Should().Be("A"); response.RelatedDocumentIds.Should().Be("A"); response.Thumbprint.Should().Be("A"); response.WorkerPoolIds.Should().Be("A"); }