Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
BloggingSystem
IntegrationTests
PostsControllerIntegrationTests
TestTearDown
BloggingSystem.IntegrationTests.PostsControllerIntegrationTests.TestTearDown C# (CSharp) Method
PostsControllerIntegrationTests Class Documentation
Show file
Open project: vladislav-karamfilov/TelerikAcademy
TestTearDown()
private
method
private
TestTearDown
( ) :
void
return
void
public void TestTearDown() { transactionScope.Dispose(); }
PostsControllerIntegrationTests
Comment_WhenInvalidComment_ShouldReturn400ErrorResponse
Comment_WhenNullComment_ShouldReturn400ErrorResponse
Comment_WhenPostExists_ShouldReturn201CodeAndEmptyContent
Comment_WhenPostNotExists_ShouldReturn404ErrorResponse
Create_WhenNullPost_ShouldReturn400ErrorResponse
Create_WhenPostWithoutTitle_ShouldReturn400ErrorResponse
Create_WhenValidPostWithTags_ShouldReturn201CodeAndPostedPost
Create_WhenValidPostWithoutTags_ShouldReturn201CodeAndNotNullContent
GetByTags_WhenMultiplePostContainsSearchedTags_ShouldReturn200CodeAndCollection
GetByTags_WhenNoPostContainsSearchedTags_ShouldReturn200CodeAndEmptyCollection
GetByTags_WhenNoTagsAreSearched_ShouldReturn400Response
GetByTags_WhenPostContainsSearchedTags_ShouldReturn200CodeAndCollectionOfOne
TestInitialize
TestTearDown