public void Test_ServiceBusMessenger_GetAccessTokenUrlNotImplemented() { // Arrange/Act var msiConfig = new MsiConfig() { SharedAccessPolicyName = "" }; var connectionConfig = new ConnectionConfig(); var spConfig = new ServicePrincipleConfig() { SharedAccessPolicyName = "TestPolicy", InstanceName = "testSBInstance", AppId = "TestAppId", AppSecret = "TestAppSecret", TenantId = "TestTenantId", SubscriptionId = "FakeSubscriptionId" }; var serviceBus = new ServiceBusMessenger(spConfig); // Assert serviceBus.ToString().Should().NotBeNullOrEmpty(); serviceBus.Name.Should().Be("testSBInstance"); (serviceBus.Config as ServicePrincipleConfig).Should().NotBeNull(); }