Exemplo n.º 1
0
        public async Task GetsTheWriteMessageIfDataIsCorrect()
        {
            // Arrange
            var db      = DatabaseInitializer.InitializeForInboxService();
            var service = new InboxService(db);

            // Act

            var result = await service.GetSingleMessage("georgi", 1);

            //Assert
            result.Should().NotBeNull(result.Title);
        }