public void StoreReference()
        {
            Reference   wrappedReference = _mockRepository.StrictMock <Reference> ();
            ILGenerator gen = new DynamicMethod("Foo", typeof(void), Type.EmptyTypes, AssemblyBuilder.GetExecutingAssembly().ManifestModule).GetILGenerator();

            // expect
            wrappedReference.StoreReference(gen);

            _mockRepository.ReplayAll();

            TypeReferenceWrapper tr = new TypeReferenceWrapper(wrappedReference, typeof(int));

            tr.StoreReference(gen);

            _mockRepository.VerifyAll();
        }