When 'using' namespace references are contained within the 'namespace' declaration the Test Method ™ template expansion automatically adds the 'using Xunit' namespace to the top of the class outside the existing namespace.
using Xunit;
namespace Tests.JsonToAzureTableTests
{
using System.Collections.Generic;
using RTIaaS.Orchestrate.Middleware.JsonToAzureTable;
using Xunit;
public class PartitionKeyBuilderTests
{
[Fact]
private void TestMethod()
{
// the using Xunit (at the top) was added despite the reference already existing
}
Hi Steve,
I have reproduced the issue. Once we find an appropriate solution, we will update this thread.