Must() public method

Result documents must satisfy these queries.
public Must ( ) : BooleanQuery
return BooleanQuery
        public void Export_ReturnsValidJson()
        {
            var query = new BooleanQuery();
            query.Must(new TermQuery("hotel").Field("type"));

            var result = query.Export().ToString(Formatting.None);

            var expected = JsonConvert.SerializeObject(new
            {
                query = new
                {
                    boost = 0.0,
                    must = new[]
                    {
                        new
                        {
                            query = new
                            {
                                term = "hotel",
                                boost = 0.0,
                                field = "type",
                                prefix_length = 0,
                                fuzziness = 0
                            }
                        }
                    },
                    must_not = new dynamic[] {},
                    should = new dynamic[] {}
                }
            }, Formatting.None);

            Assert.AreEqual(expected, result);
        }
        public void Export_Returns_Valid_Json_For_Must()
        {
            var query = new BooleanQuery();
            query.Must(new TermQuery("hotel").Field("type"));

            var result = query.Export().ToString(Formatting.None);

            var expected = JsonConvert.SerializeObject(new
            {
                must = new
                {
                    conjuncts = new dynamic[]
                    {
                        new
                        {
                            term = "hotel",
                            prefix_length = 0,
                            fuzziness = 0,
                            field = "type"
                        }
                    }
                }
            }, Formatting.None);

            Assert.AreEqual(expected, result);
        }
        public void Can_Execute_Query_With_Only_One_Type_Of_Sub_Query()
        {
            var query = new BooleanQuery();
            query.Must(new TermQuery("hotel").Field("type"));

            var result = query.Export();

            Assert.IsNotNull(result);
        }