// TestInvalidStreamGenerationFunction verifies that if clients using streaming RPCs to
// communicate with the server try to open a client stream with an invalid stream generation
// function, the error gets caught.
TestInvalidStreamGenerationFunction verifies that if clients using streaming RPCs to
communicate with the server try to open a client stream with an invalid stream generation
function, the error gets caught.
// TestInvalidStreamGenerationFunction verifies that if clients using streaming RPCs to // communicate with the server try to open a client stream with an invalid stream generation // function the error gets caught .
func TestInvalidStreamGenerationFunction(t *testing.T) {
	c, _ := NewPseudonymsysCAClient(testGrpcClientConn, nil)
	res := c.openStream(c.grpcClient, "InvalidFunc")
	assert.NotNil(t, res, "stream generation function is invalid, error should be produced")
}
func TestInvalidStreamGenerationFunction ( t * testing . T ) { c , _ := NewPseudonymsysCAClient ( testGrpcClientConn , nil ) res := c . openStream ( c . grpcClient , " " ) assert . NotNil ( t , res , " " ) }
TestInvalidStreamGenerationFunction verifies that if clients using streaming RPCs to
communicate with the server try to open a client stream with an invalid stream generation
function, the error gets caught.
TestInvalidStreamGenerationFunction verifies that if clients using streaming RPCs to communicate with the server try to open a client stream with an invalid stream generation function the error gets caught .
// We don't care about which client we instantiate here, or its arguments, // since the underlying behavior we're testing is the same for all of them // This is otherwise called implicitly at the beginning of any client's function // for running a given cryptographic protocol