private void CheckSerialization(ISerializationEventReceiver receiver)
        {
            ExpectSerializationCallbacks(receiver);

            _mockRepository.ReplayAll();

            Serializer.Serialize(_instance);

            _mockRepository.VerifyAll();
        }