public void CreateNewAttachmentWhenAttachmentEmpty()
            {
                _testObject.ResetAttachments();
                int initial = _testObject.Sut.Attachments.Count;

                _result = _testObject.Sut.AddData(testTable);

                Assert.AreEqual(0, initial);
                Assert.AreEqual(1, _testObject.Sut.Attachments.Count);
            }
            public void CreateAttachmentIfNoneExists()
            {
                _testObject.ResetAttachments();
                var initialCount = _testObject.Sut.Attachments.Count;

                _result = _testObject.Sut.Field(_title, _value, _short);

                Assert.AreEqual(0, initialCount);
                Assert.AreEqual(1, _testObject.Sut.Attachments.Count);
            }
            public void CreateNewAttahmentWhenAttachmentEmpty()
            {
                _testObject.ResetAttachments();
                int initial = _testObject.Sut.Attachments.Count;

                _result = _testObject.Sut.Pretext(_preText);

                Assert.AreEqual(0, initial);
                Assert.AreEqual(1, _testObject.Sut.Attachments.Count);
            }
            public void CreateAttachmentWhenNoneExists()
            {
                _sutObject.ResetAttachments();
                var oldCount = _sutObject.Sut.Attachments.Count;

                _sutObject.Sut.Title(_title, _randomUri);

                Assert.AreEqual(0, oldCount);
                Assert.AreEqual(1, _sutObject.Sut.Attachments.Count);
            }