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: object_js_test.go
    path of file: ./repos/gitkube/vendor/github.com/gogo/protobuf/test/int64support
    
    the code of the file until where you have to start completion: package int64support

import (
	"encoding/json"
	"testing"
)

func TestMarshaler(t *testing.T) {
	n := int64(1)
	b, err := json.Marshal(&Object{OptionalNumber: &n})
	if err != nil {
		t.Fatal(err)
	}
	const expected = "{\"optional_number\":1}"
	if string(b) != expected {
		t.Fa
    
func TestMarshaler(t *testing.T) {
	n := int64(1)
	b, err := json.Marshal(&Object{OptionalNumber: &n})
	if err != nil {
		t.Fatal(err)
	}
	const expected = "{\"optional_number\":1}"
	if string(b) != expected {
		t.Fatalf("expected '%s' instead of '%s'", expected, string(b))
	}

	b, err = json.Marshal(new(Object))
	if err != nil {
		t.Fatal(err)
	}
	const expected2 = "{}"
	if string(b) != expected2 {
		t.Fatalf("expected '%s' instead of '%s'", expected2, string(b))
	}
}