Fixing IOC-60, Custom Parameters do not play a role in resolving chains
[castle.git] / MonoRail / Castle.MonoRail.Views.Brail.Tests / LanguageFeatures.cs
blob8eed4ad17a702c7407ac982e01133a46662a1952
1 // Copyright 2004-2007 Castle Project - http://www.castleproject.org/
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace Castle.MonoRail.Views.Brail.Tests
17 using Castle.MonoRail.Framework.Tests;
18 using NUnit.Framework;
20 public class LanguageFeatures : AbstractTestCase
22 [Test]
23 public void NullableProperties()
25 string expected = "<?xml version=\"1.0\" ?>\r\n"+
26 @"<html>
27 <h1>BarBaz</h1>
28 </html>";
29 // should not raise null exception
30 DoGet("Home/nullableProperties.rails");
31 AssertReplyEqualTo(expected);