func TestShootingDuration(t *testing.T) {
	v := New()
	var shooting *booking_shooting.Shooting
	{
		shooting = createValidShooting()
		shooting.Duration = null.NewInt(int64(MINIMAL_DURATION), false)
		if err := AssertThat(v.ValidateShooting(shooting), NotNilValue()); err != nil {
			t.Fatal(err)
		}
	}
	{
		shooting = createValidShooting()
		shooting.Duration = null.NewInt(int64(time.Minute*5), true)
		if err := AssertThat(v.ValidateShooting(shooting), NotNilValue()); err != nil {
			t.Fatal(err)
		}
	}
	{
		shooting = createValidShooting()
		shooting.Duration = null.NewInt(int64(MINIMAL_DURATION), true)
		if err := AssertThat(v.ValidateShooting(shooting), NilValue()); err != nil {
			t.Fatal(err)
		}
	}
}
func TestShootingNameNotEmpty(t *testing.T) {
	v := New()
	var shooting *booking_shooting.Shooting
	{
		shooting = createValidShooting()
		shooting.Name = ""
		if err := AssertThat(v.ValidateShooting(shooting), NotNilValue()); err != nil {
			t.Fatal(err)
		}
	}
	{
		shooting = createValidShooting()
		shooting.Name = "test"
		if err := AssertThat(v.ValidateShooting(shooting), NilValue()); err != nil {
			t.Fatal(err)
		}
	}
}