public async Task WhenMarkedServiceReceivesMessage_ThenCorrectOverloadMethodIsInvoked()
        {
            var service = new MockSubscriberStatefulServiceBase(MockStatefulServiceContextFactory.Default, new BrokerClient(new MockBrokerServiceLocator()));

            service.SetPartition(new MockStatefulServicePartition
            {
                PartitionInfo = new SingletonPartitionInformation()
            });
            await service.InvokeOnOpenAsync(ReplicaOpenMode.New, CancellationToken.None);

            await service.ReceiveMessageAsync(new MockMessageSpecialized { SomeValue = "SomeValue" }.CreateMessageWrapper());

            Assert.IsTrue(service.MethodCalled);
        }