Skip to content

Instantly share code, notes, and snippets.

View andlju's full-sized avatar

Anders Ljusberg andlju

View GitHub Profile
@andlju
andlju / gist:1047909
Created June 26, 2011 19:47
Sample test from coming Entile drop.
public class When_Updating_Registration_On_Registered_Client : With<Client>
{
protected override IEnumerable<IEvent> Given()
{
yield return new ClientRegisteredEvent("1234", "http://my.channel.com");
}
protected override void When(Client client)
{
client.UpdateRegistration("http://new.channel.com");
public class BrilliantLogger
{
...
Dictionary<string,string> _selectedCategories;
...
public void Log(string message, string logCategory)
{