//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldLogToSecurityLogFromAuthorizationPlugin() throws Throwable //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void ShouldLogToSecurityLogFromAuthorizationPlugin() { PluginRealm pluginRealm = new PluginRealm(null, new LoggingAuthorizationPlugin(this), _config, _securityLog, Clock.systemUTC(), mock(typeof(SecureHasher))); pluginRealm.Initialize(); AssertLogged("LoggingAuthorizationPlugin"); }