package de.egga;

import org.testng.annotations.Test;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.is;

/**
 * @author egga
 */
public class NoteTest {

    @Test
    public void aShouldHaveTheNameLa() {
        assertThat(Note.A.getName(), is(equalTo("A")));
    }

    @Test
    public void aShouldHaveThePitchSix() {
        assertThat(Note.A.getPitch(), is(equalTo(10)));
    }

}
@@ -466,9 +466,120 @@
 %0A    %7D%0A%0A
+    @Test%0A    public void thereAreTwelveNotes() %7B%0A        assertThat(Note.values().length, equalTo(12));%0A    %7D%0A
 %7D

add Test for number of notes