public void GetFabricService_PassServiceName_ReturnServiceName() { // Arrange string serviceName = "serviceName"; // Act var result = ActorNameFormat.GetFabricServiceName(typeof(object), serviceName); // Assert result.Should().Be(serviceName); }
public void GetFabricService_NoServiceNameProvided_ReturnServiceName() { // Arrange string serviceName = "ObjectActorService"; // Act var result = ActorNameFormat.GetFabricServiceName(typeof(object)); // Assert result.Should().Be(serviceName); }