Skip to content

Instantly share code, notes, and snippets.

@JohanLarsson
Created April 10, 2014 23:08
Show Gist options
  • Save JohanLarsson/10430933 to your computer and use it in GitHub Desktop.
Save JohanLarsson/10430933 to your computer and use it in GitHub Desktop.
using Ninject;
using NUnit.Framework;
public class Class1
{
[Test]
public void CompRoot()
{
var kernel = new StandardKernel();
var fuu = kernel.Get<Fuu>();
}
}
public class Fuu
{
private readonly Meh _meh;
public Fuu(Meh meh)
{
_meh = meh;
}
}
public class Meh
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment