public async Task WhenConstructorDoesNotCallVirtualMethodThenDoesNotReturnError(string code) { var references = new[] { MetadataReference.CreateFromFile(typeof(IAvailability).Assembly.Location) }; var solution = CreateSolution(references, code); var results = await _inspector.Inspect(solution); Assert.Empty(results); } }