SevenShores\Hubspot\Tests\Unit\Support\QueryBuilderTest::build_nested_batch_with_encoding_RFC3986 PHP Method

build_nested_batch_with_encoding_RFC3986() public method

    public function build_nested_batch_with_encoding_RFC3986()
    {
        $query = ['email' => '[email protected]', 'description' => 'two words', 'property' => ['firstname', 'lastname']];
        $queryString = build_query_string($query);
        $this->assertEquals('&email=test%40test.com&description=two%20words&property=firstname&property=lastname', $queryString);
    }