public void CheckServiceTest() { var familyService = new FamilyService(); familyService.CheckService(new Record("2 E1")); Assert.IsFalse(familyService.IsJoined()); familyService.CheckService(new Record("2 C1 090-1234-0001")); Assert.IsTrue(familyService.IsJoined()); Assert.IsTrue(familyService.IsFamilyTelNumber("090-1234-0001")); }