public void Clear_HasSubject_SubjectIsCleared() { var commitDocument = new CommitDocument("Not empty"); commitDocument.Clear(); commitDocument.Subject.Should().BeEmpty(); }
public void Clear_HasBody_BodyIsCleared() { var commitDocument = new CommitDocument { Body = new[] { "Not empty" } }; commitDocument.Clear(); commitDocument.Body.Should().BeEmpty(); }