Skip to content

Instantly share code, notes, and snippets.

@ashmind
Last active August 29, 2015 14:16
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashmind/7f8f0a725de5f21ab411 to your computer and use it in GitHub Desktop.
Save ashmind/7f8f0a725de5f21ab411 to your computer and use it in GitHub Desktop.
using System;
namespace SomeUnit {
public class AssertHelper {
public static AssertHelper Assert { get; } = new AssertHelper();
}
}
namespace SomeUnit.Extensions {
public static class AssertExtensions {
public static void SomethingNew(this AssertHelper assert) {}
}
}
namespace Tests {
using static SomeUnit.AssertHelper;
using SomeUnit.Extensions;
public class Tests {
public void Test() {
Assert.SomethingNew();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment