public void InvestigationByName_Name_GetFormatCalled()
        {
            // Arrange
            var teamCityCaller = A.Fake<ITeamCityCaller>();
            var buildConfigs = new Investigations(teamCityCaller);

            // Act
            buildConfigs.InvestigationByTest(TestLocator.WithName("test name"));

            // Assert
            A.CallTo(
                () =>
                    teamCityCaller.GetFormat<InvestigationWrapper>("/app/rest/investigations?locator=test:({0})",
                        A<TestLocator>.That.Matches(l => l.Name == "test name"))).MustHaveHappened(Repeated.Exactly.Once);
        }