title: How to test whether my factories are properly bound?
body: <p>Using <a href="http://www.ninject.org/" rel="nofollow"><strong>Ninject</strong></a>, I have the following and wish to test using <a href="https://www.nuget.org/packages/FluentAssertions/" rel="nofollow"><strong>FluentAssertions</strong></a>:</p>
  
  <pre><code>[Test]
  public void InterfacesEndingWithFactoryShouldBeBoundAsFactories() {
      // Given
      IKernel kernel = new StandardKernel();
      kernel.Bind(services =&gt; services
          .From(AppDomain.CurrentDomain
              .GetAssemblies()
              .Where(a =&gt; !a.FullName.Contains("Tests")))
          .SelectAllInterfaces()
          .EndingWith("Factory")
          .BindToFactory()
      );
  
      // When
      var factory = kernel.Get&lt;ICustomerManagementPresenterFactory&gt;();
  
      // Then
      factory.Should().NotBeNull();
  }
  </code></pre>
  
  <p>Is there any good ways to test whether the factories are actually bound properly?</p>