public void AddCharacterViewModelWithoutConditionalField() { var field = _mock.CreateConditionalField(new ProjectField(), _mock.Group); var groupForClaim = _mock.CreateCharacterGroup(new CharacterGroup()); var vm = new AddCharacterViewModel().Fill(groupForClaim, _mock.Master.UserId); var fieldView = vm.Fields.Field(field); fieldView.ShouldNotBeNull(); fieldView.Value.ShouldBeNull(); fieldView.ShouldBeHidden(); fieldView.ShouldBeReadonly(); }