The Bundles
property on BundleTable
is static and therefore not mockable (with Rhino Mocks). Perhaps you can populate the Bundles collection with data that would satisfy your test?
There are commercial products that let you mock/stub static methods (I think TypeMock Isolator allows this).