package com.github.pfichtner.ardulink.core.proto.api;

import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;

import java.util.Arrays;
import java.util.HashSet;

import org.junit.Test;

public class ProtocolsTest {

	@Test
	public void test() {
		assertThat(new HashSet<String>(Protocols.list()),
				is(new HashSet<String>(Arrays.asList("ardulink", "dummy"))));
	}

}

@@ -261,12 +261,45 @@
 oid 
-test
+defaultAndDummyProtocolsAreRegistered
 () %7B
@@ -312,16 +312,21 @@
 ertThat(
+%0A%09%09%09%09
 new Hash
@@ -415,16 +415,21 @@
 , %22dummy
+Proto
 %22))));%0A%09

test fixed