public void Map_specialization_persistance_to_specialization_entity_when_persistance_is_null() { SpecializationPersistence specializationPersistance = null; Assert.Throws <ArgumentNullException>(() => SpecializationMapper.MapSpecializationPersistenceToSpecializationEntity(specializationPersistance)); }
public void Map_specialization_persistence_to_specialization_entity() { SpecializationPersistence specializationPersistance = this.GetSpecializationPersistanceFirst(); Specialization specialization = SpecializationMapper.MapSpecializationPersistenceToSpecializationEntity(specializationPersistance); Assert.True(this.IsEqualSpecializationPersistanceAndSpecilizationEntity(specializationPersistance, specialization)); }