Make logging optional in all public APIs (#72)
This commit is contained in:
parent
2c852f0757
commit
729c8b5eb9
1 changed files with 36 additions and 13 deletions
|
|
@ -53,13 +53,6 @@ public class McpServerFactoryTests
|
|||
Assert.Throws<ArgumentNullException>(() => new McpServerFactory(_serverTransport.Object, null!, _loggerFactory.Object, _serverDelegates.Object, _serviceProvider));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Constructor_Throws_For_Null_Logger()
|
||||
{
|
||||
// Arrange, Act & Assert
|
||||
Assert.Throws<ArgumentNullException>(() => new McpServerFactory(_serverTransport.Object, _options, null!, _serverDelegates.Object, _serviceProvider));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Constructor_Does_Not_Throw_For_Null_ServerDelegates()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue