public void UnableToLoadProxyFactoryFactory()
 {
     try
     {
         var bcp = new BytecodeProviderImpl();
         bcp.SetProxyFactoryFactory("whatever");
         Assert.Fail();
     }
     catch (HibernateByteCodeException e)
     {
         Assert.That(e.Message, Is.StringStarting("Unable to load type"));
         Assert.That(e.Message, Is.StringContaining("Possible causes"));
         Assert.That(e.Message, Is.StringContaining("Confirm that your deployment folder contains"));
     }
 }