public async Task Heartbeat_ValidateAppToken()
        {
            // Arrange
            var serviceSubscription = new ServiceSubscription
            {
                ApplicationToken = Guid.NewGuid()
            };

            A.CallTo(() => _validateApplicationTokenService.ValidateApplicationTokenAsync(serviceSubscription.ApplicationToken))
            .Returns(Task.FromResult(new RegisteredApplication()));

            // Act
            await _sut.Thump(serviceSubscription);

            // Assert
            A.CallTo(() => _validateApplicationTokenService.ValidateApplicationTokenAsync(serviceSubscription.ApplicationToken))
            .MustHaveHappened(Repeated.Exactly.Once);
        }
 public async Task Heartbeat([FromBody] ServiceSubscription serviceSubscription)
 {
     await _heartbeatService.Thump(serviceSubscription);
 }