func Test_ProjectsNotes(t *testing.T) {
	expected := `= Test.Project.A
== 2010-11-10 23:00:00
note note note` + "\n\n"

	expected += `= Test.Project.B
== 2010-11-10 23:00:00
note note note` + "\n\n"

	expected += `= Test.Project.C
== 2010-11-10 23:00:00
note note note` + "\n\n"

	expected += `= Test.Project.D
== 2010-11-10 23:00:00
note note note` + "\n\n"

	got := new(bytes.Buffer)

	projects := testhelper.GetTestProjects(1, 1, "A", "B", "C", "D")
	for _, project := range projects.List() {
		ProjectNotes(got, 0, &project)
	}

	testhelper.CompareGotExpected(t, nil, got.String(), expected)
}
func Test_ProjectMultiple(t *testing.T) {
	expected := `:toc: right
:toclevels: 4
:sectanchors:
:sectlink:
:icons: font
:linkattrs:
:numbered:
:idprefix:
:idseparator: -
:doctype: book
:source-highlighter: pygments
:listing-caption: Listing` + "\n\n"

	expected += "= Entries\n\n"

	expected += `== Test.Project.A
=== Todos
* todo todo todo

=== Notes
==== 2010-11-10 23:00:00
note note note` + "\n\n"

	expected += `== Test.Project.B
=== Todos
* todo todo todo

=== Notes
==== 2010-11-10 23:00:00
note note note` + "\n\n"

	expected += `== Test.Project.C
=== Todos
* todo todo todo

=== Notes
==== 2010-11-10 23:00:00
note note note` + "\n\n"

	expected += `== Test.Project.D
=== Todos
* todo todo todo

=== Notes
==== 2010-11-10 23:00:00
note note note` + "\n\n"

	got := new(bytes.Buffer)

	projects := testhelper.GetTestProjects(1, 1, "A", "B", "C", "D")
	Projects(got, "Entries", 0, &projects)

	testhelper.CompareGotExpected(t, nil, got.String(), expected)
}