Beispiel #1
0
        // ReSharper disable once InconsistentNaming
        public void Constructor_Takes_Correct_Parameters()
        {
            var actor = new Actor();

            string role = "Role";

            var showsActors = new ShowsActors(actor, role);

            Assert.Equal(actor, showsActors.Actor);
            Assert.Equal(role, showsActors.Role);
        }
Beispiel #2
0
 private static void UpdateShowActorRelationship(ShowsActors showsActors, ActorData data)
 {
     showsActors.Role = data.Role;
 }