You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: cluster_entry_test.go
    path of file: ./repos/heketi/apps/glusterfs
    
    the code of the file until where you have to start completion: //
// Copyright (c) 2015 The heketi Authors
//
// This file is licensed to you under your choice of the GNU Lesser
// General Public License, vers
    
func TestNewClusterEntryFromRequest(t *testing.T) {

	cluster_req := &api.ClusterCreateRequest{
		ClusterFlags: api.ClusterFlags{
			Block: true,
			File:  true,
		},
	}

	c := NewClusterEntryFromRequest(cluster_req)
	tests.Assert(t, c != nil)
	tests.Assert(t, len(c.Info.Id) > 0)
	tests.Assert(t, c.Info.Id != "")
	tests.Assert(t, c.Info.Volumes != nil)
	tests.Assert(t, c.Info.Nodes != nil)
	tests.Assert(t, len(c.Info.Volumes) == 0)
	tests.Assert(t, len(c.Info.Nodes) == 0)
	tests.Assert(t, c.Info.Block == true)
	tests.Assert(t, c.Info.File == true)

}