Example #1
0
        public void WhenRelationshipDoesNotExistThrowsRelationshipNotFoundException()
        {
            Action act = () => _personalRelationshipsUseCase.ExecuteDelete(0);

            act.Should().Throw <PersonalRelationshipNotFoundException>()
            .WithMessage($"'relationshipId' with '{0}' was not found.");
        }