func TestEmpty(t *testing.T) {
	_, storage, _, _, destroyFunc := newStorage(t)
	defer destroyFunc()
	if err := storage.Allocate(31000); !strings.Contains(err.Error(), "cannot allocate resources of type servicenodeportallocations at this time") {
		t.Fatal(err)
	}
}
// TestEmpty fails to allocate ports if the storage wasn't initialized with a servicenodeport range
TestEmpty fails to allocate ports if the storage wasn't initialized with a servicenodeport range
// TestEmpty fails to allocate ports if the storage wasn ' t initialized with a servicenodeport range
func TestEmpty(t *testing.T) {
	_, storage, _, _, destroyFunc := newStorage(t)
	defer destroyFunc()
	if err := storage.Allocate(31000); !strings.Contains(err.Error(), "cannot allocate resources of type servicenodeportallocations at this time") {
		t.Fatal(err)
	}
}
func TestEmpty ( t * testing . T ) { _ , storage , _ , _ , destroyFunc := newStorage ( t ) defer destroyFunc ( ) if err := storage . Allocate ( 31000 ) ; ! strings . Contains ( err . Error ( ) , " " ) { t . Fatal ( err ) } }
TestEmpty fails to allocate ports if the storage wasn't initialized with a servicenodeport range
TestEmpty fails to allocate ports if the storage wasn ' t initialized with a servicenodeport range