Use the I_can_try_to... naming pattern in tests

This commit is contained in:
Tyrrrz
2023-11-11 22:35:00 +02:00
parent 8646c9de5e
commit 0fe9c89fa0
5 changed files with 18 additions and 18 deletions

View File

@@ -54,7 +54,7 @@ public class TypeActivationSpecs : SpecsBase
}
[Fact]
public async Task I_can_configure_the_application_to_use_the_default_type_activator_and_get_an_error_if_the_requested_type_does_not_have_a_parameterless_constructor()
public async Task I_can_try_to_configure_the_application_to_use_the_default_type_activator_and_get_an_error_if_the_requested_type_does_not_have_a_parameterless_constructor()
{
// Arrange
var commandType = DynamicCommandBuilder.Compile(
@@ -187,7 +187,7 @@ public class TypeActivationSpecs : SpecsBase
}
[Fact]
public async Task I_can_configure_the_application_to_use_a_custom_type_activator_and_get_an_error_if_the_requested_type_cannot_be_initialized()
public async Task I_can_try_to_configure_the_application_to_use_a_custom_type_activator_and_get_an_error_if_the_requested_type_cannot_be_initialized()
{
// Arrange
var commandType = DynamicCommandBuilder.Compile(